summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5971.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-03-28 10:00:33 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-03-28 10:00:33 +0100
commit9734a93f6bca47633f1ee49876987d62c69041cf (patch)
treeebb6a3ca4ce07dddfb2c0da46edb9b8ab33eb619 /testsuite/tests/th/T5971.hs
parentada17f2705c8b5d90a0150ad3735ca7659d30fb4 (diff)
downloadhaskell-9734a93f6bca47633f1ee49876987d62c69041cf.tar.gz
Test Trac #5971
Diffstat (limited to 'testsuite/tests/th/T5971.hs')
-rw-r--r--testsuite/tests/th/T5971.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/th/T5971.hs b/testsuite/tests/th/T5971.hs
new file mode 100644
index 0000000000..bca58ea0c7
--- /dev/null
+++ b/testsuite/tests/th/T5971.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE TemplateHaskell #-}
+module T5971 where
+
+import Language.Haskell.TH
+
+_ = $(newName "x" >>= varE)