From 19be8de834220e1420226246d8ca3e1b3dfb00a4 Mon Sep 17 00:00:00 2001
From: "Dr. ERDI Gergo" <gergo@erdi.hu>
Date: Sat, 12 Apr 2014 17:52:26 +0800
Subject: [PATCH] Expected output of as-pattern test

(cherry picked from commit 7233638ba6e82179cc4bd1b981eff5292b18e118)
---
 testsuite/tests/patsyn/should_fail/as-pattern.stderr | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 testsuite/tests/patsyn/should_fail/as-pattern.stderr

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