diff options
Diffstat (limited to 'testsuite/tests/th/T2674.hs')
-rw-r--r-- | testsuite/tests/th/T2674.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/th/T2674.hs b/testsuite/tests/th/T2674.hs new file mode 100644 index 0000000000..3413193343 --- /dev/null +++ b/testsuite/tests/th/T2674.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE TemplateHaskell #-} + +-- Trac #2674 + +module ShouldFail where + +import Language.Haskell.TH + +$(return [FunD (mkName "foo") []]) |