summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T7021.hs
diff options
context:
space:
mode:
authorYoEight <yo.eight@gmail.com>2014-01-11 13:47:24 +0100
committerRichard Eisenberg <eir@cis.upenn.edu>2014-02-09 12:57:30 -0500
commit182ff9e814a917681b1600b2729c3340801630de (patch)
treea3c5704b918a7334a62c2270c646ae4be1225a41 /testsuite/tests/th/T7021.hs
parente0dadc87b57ce7f4ec3b72eb52e4abe5a5218f52 (diff)
downloadhaskell-182ff9e814a917681b1600b2729c3340801630de.tar.gz
Fix tests due to issue #7021
Signed-off-by: Richard Eisenberg <eir@cis.upenn.edu>
Diffstat (limited to 'testsuite/tests/th/T7021.hs')
-rw-r--r--testsuite/tests/th/T7021.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/th/T7021.hs b/testsuite/tests/th/T7021.hs
new file mode 100644
index 0000000000..31e18431ad
--- /dev/null
+++ b/testsuite/tests/th/T7021.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+module T7021 where
+
+import T7021a
+
+func :: a -> Int
+func = $(test)