blob: bc0126a91da7261b64c4d29edf84284c61af1d41 (
plain)
1
2
3
4
5
6
7
|
-- Check that declarations in a bracket shadow the top-level
-- declarations, rather than clashing with them.
{-# LANGUAGE NoMonomorphismRestriction #-}
module TH_bracket1 where
foo = 1
bar = [d| foo = 1 |]
|