diff options
Diffstat (limited to 'testsuite/tests/th/TH_sections.hs')
-rw-r--r-- | testsuite/tests/th/TH_sections.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/th/TH_sections.hs b/testsuite/tests/th/TH_sections.hs new file mode 100644 index 0000000000..26d7db41ef --- /dev/null +++ b/testsuite/tests/th/TH_sections.hs @@ -0,0 +1,11 @@ + +-- Test for trac #2956 + +module TH_sections where + +two :: Int +two = $( [| (1 +) 1 |] ) + +three :: Int +three = $( [| (+ 2) 1 |] ) + |