diff options
Diffstat (limited to 'testsuite/tests/th/T2685a.hs')
-rw-r--r-- | testsuite/tests/th/T2685a.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/th/T2685a.hs b/testsuite/tests/th/T2685a.hs new file mode 100644 index 0000000000..a92c9720ef --- /dev/null +++ b/testsuite/tests/th/T2685a.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE TemplateHaskell #-} +module T2685a (th) where + +import Language.Haskell.TH + +newtype NT = C (() -> ()) + +th :: Q [Dec] +th = [d| foo = C undefined |] |