summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5795.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-04-05 14:41:32 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-04-05 14:41:32 +0100
commitc5e6c6d620eeb283726ff9c75960090140d9e3a5 (patch)
tree89cdf9c6dd309ea56c227b2f9760ba5eb3a656df /testsuite/tests/th/T5795.hs
parent34138c1ce37de61c8de58411df58bfebe251bd0e (diff)
downloadhaskell-c5e6c6d620eeb283726ff9c75960090140d9e3a5.tar.gz
Add files for testing T5795
Diffstat (limited to 'testsuite/tests/th/T5795.hs')
-rw-r--r--testsuite/tests/th/T5795.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/th/T5795.hs b/testsuite/tests/th/T5795.hs
new file mode 100644
index 0000000000..ea41ce0555
--- /dev/null
+++ b/testsuite/tests/th/T5795.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE TemplateHaskell #-}
+module T5795 where
+
+import Language.Haskell.TH
+
+ty :: Q Type
+ty = [t| Int |]
+
+f :: $ty
+f = undefined