summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5976.hs
diff options
context:
space:
mode:
authorPaolo Capriotti <p.capriotti@gmail.com>2012-03-30 12:46:52 +0100
committerPaolo Capriotti <p.capriotti@gmail.com>2012-04-03 11:43:43 +0100
commit47c2cb0ce02f2202b1f04b2ef9ff9a3517faef94 (patch)
tree701ee19a3c04b51033e3aa39dbc46581d8746bc1 /testsuite/tests/th/T5976.hs
parent9615ede4d51a2f30e6741b9370effc7ddca7d5a3 (diff)
downloadhaskell-47c2cb0ce02f2202b1f04b2ef9ff9a3517faef94.tar.gz
Add testcase for #5976.
Diffstat (limited to 'testsuite/tests/th/T5976.hs')
-rw-r--r--testsuite/tests/th/T5976.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/th/T5976.hs b/testsuite/tests/th/T5976.hs
new file mode 100644
index 0000000000..aa388c764e
--- /dev/null
+++ b/testsuite/tests/th/T5976.hs
@@ -0,0 +1,3 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+$( error ("foo " ++ error "bar") )