summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5971.stderr
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.stderr
parentada17f2705c8b5d90a0150ad3735ca7659d30fb4 (diff)
downloadhaskell-9734a93f6bca47633f1ee49876987d62c69041cf.tar.gz
Test Trac #5971
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)