summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T7667a.hs
diff options
context:
space:
mode:
authorRichard Eisenberg <eir@cis.upenn.edu>2013-10-21 10:10:00 -0400
committerRichard Eisenberg <eir@cis.upenn.edu>2013-10-23 09:23:24 -0400
commitc43dd9731850df270f98fb37119e935f0fa89735 (patch)
tree5ec03c23247e155bf7340f9858d0037e52e90e1c /testsuite/tests/th/T7667a.hs
parent4d759845fecc3f5a796567722d399f46498c7abd (diff)
downloadhaskell-c43dd9731850df270f98fb37119e935f0fa89735.tar.gz
Add new test for the second round of #7667
Diffstat (limited to 'testsuite/tests/th/T7667a.hs')
-rw-r--r--testsuite/tests/th/T7667a.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/th/T7667a.hs b/testsuite/tests/th/T7667a.hs
new file mode 100644
index 0000000000..9f829a0e6d
--- /dev/null
+++ b/testsuite/tests/th/T7667a.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module T7667a where
+
+import Language.Haskell.TH
+
+ -- to be correct, this should be ConE, not VarE!
+false = $( return $ VarE (mkName "False") ) \ No newline at end of file