summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_bracket1.hs
blob: 393ca47fbd6c7bd73daa3d3863e78a08807aad39 (plain)
1
2
3
4
5
6
7
-- Check that declarations in a bracket shadow the top-level 
-- declarations, rather than clashing with them.

module TH_bracket1 where

foo = 1
bar = [d| foo = 1 |]