Expected output of as-pattern test
authorDr. ERDI Gergo <gergo@erdi.hu>
Sat, 12 Apr 2014 09:52:26 +0000 (17:52 +0800)
committerDr. ERDI Gergo <gergo@erdi.hu>
Sat, 12 Apr 2014 09:52:26 +0000 (17:52 +0800)
testsuite/tests/patsyn/should_fail/as-pattern.stderr [new file with mode: 0644]

diff --git a/testsuite/tests/patsyn/should_fail/as-pattern.stderr b/testsuite/tests/patsyn/should_fail/as-pattern.stderr
new file mode 100644 (file)
index 0000000..62db28f
--- /dev/null
@@ -0,0 +1,4 @@
+
+as-pattern.hs:4:18:
+    Pattern synonym definition cannot contain as-patterns (@):
+      x@(Just y)