summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5971.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T5971.stderr')
-rw-r--r--testsuite/tests/th/T5971.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/th/T5971.stderr b/testsuite/tests/th/T5971.stderr
new file mode 100644
index 0000000000..23e6b8db8d
--- /dev/null
+++ b/testsuite/tests/th/T5971.stderr
@@ -0,0 +1,9 @@
+
+T5971.hs:6:7:
+ The exact Name `x' is not in scope
+ Probable cause: you used a unique name (NameU) in Template Haskell but did not bind it
+ In the result of the splice:
+ $(newName "x" >>= varE)
+ To see what the splice expanded to, use -ddump-splices
+ In the expression: $(newName "x" >>= varE)
+ In a pattern binding: _ = $(newName "x" >>= varE)