summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/TH_bracket1.hs
blob: edec7597f2abd0b87d610bd19d41cad3bd7c5a51 (plain)
1
2
3
4
5
6
7
8
9
-- Check that declarations in a bracket shadow the top-level
{-# LANGUAGE TemplateHaskell #-}
-- declarations, rather than clashing with them.

module TH_bracket1 where

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