summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T21547A.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T21547A.hs')
-rw-r--r--testsuite/tests/th/T21547A.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/th/T21547A.hs b/testsuite/tests/th/T21547A.hs
new file mode 100644
index 0000000000..19b47f8987
--- /dev/null
+++ b/testsuite/tests/th/T21547A.hs
@@ -0,0 +1,9 @@
+module T21547A where
+
+import Data.Typeable
+import Language.Haskell.TH
+
+foo :: Typeable a => Code Q a -> Code Q ()
+foo = undefined
+
+data F a = F a deriving (Show)