summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_sections.hs
blob: 26d7db41ef6d574a77bfcdbf3c5bda039e996c2e (plain)
1
2
3
4
5
6
7
8
9
10
11

-- Test for trac #2956

module TH_sections where

two :: Int
two = $( [| (1 +) 1 |] )

three :: Int
three = $( [| (+ 2) 1 |] )