summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5976.hs
diff options
context:
space:
mode:
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") )