summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T7276a.script
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-10-26 16:38:46 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-10-26 16:38:46 +0100
commitd32a0c810c8921e4ce585d43d9a9c55648f3fc47 (patch)
tree0f94bbb086576a5e3ad1361084ef8fb77f57b69d /testsuite/tests/th/T7276a.script
parente65d702c3c28983709c77900a40f08af3102be8f (diff)
downloadhaskell-d32a0c810c8921e4ce585d43d9a9c55648f3fc47.tar.gz
Test Trac #7276 (part 2)
Diffstat (limited to 'testsuite/tests/th/T7276a.script')
-rw-r--r--testsuite/tests/th/T7276a.script4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/th/T7276a.script b/testsuite/tests/th/T7276a.script
new file mode 100644
index 0000000000..5ebd911233
--- /dev/null
+++ b/testsuite/tests/th/T7276a.script
@@ -0,0 +1,4 @@
+:set -XTemplateHaskell -fdefer-type-errors
+import Language.Haskell.TH
+let x = [d|a = ()|] :: Q Exp
+:t $x