summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T2817.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T2817.hs')
-rw-r--r--testsuite/tests/th/T2817.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/th/T2817.hs b/testsuite/tests/th/T2817.hs
new file mode 100644
index 0000000000..6bdee60994
--- /dev/null
+++ b/testsuite/tests/th/T2817.hs
@@ -0,0 +1,11 @@
+{-# OPTIONS -XTemplateHaskell #-}
+module TH( x ) where
+import Language.Haskell.TH
+
+data T f = MkT (f Int)
+
+x = $(return (SigE (VarE 'x) (AppT (ConT ''T) (AppT ArrowT (ConT ''Int)))))
+
+
+
+