summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/th/TH_scope.hs
blob: 7674a5d1c0ef8fba10e19fcd9fead6b7bc52e11d (plain)
1
2
3
4
5
6
7
8
-- Test for Trac #2188

module TH_scope where

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