summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/TH_scope.hs
blob: d18523a6ca85eb7e4c287349796d17d3c68e2e43 (plain)
1
2
3
4
5
6
7
8
9
10
-- Test for Trac #2188
{-# LANGUAGE TemplateHaskell #-}

module TH_scope where

f g = [d| f :: Int
          f = g
          g :: Int
          g = 4 |]