summaryrefslogtreecommitdiff
path: root/testsuite/tests/arrows/should_fail/arrowfail004.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/arrows/should_fail/arrowfail004.stderr')
-rw-r--r--testsuite/tests/arrows/should_fail/arrowfail004.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/arrows/should_fail/arrowfail004.stderr b/testsuite/tests/arrows/should_fail/arrowfail004.stderr
new file mode 100644
index 0000000000..8a20c6bcbb
--- /dev/null
+++ b/testsuite/tests/arrows/should_fail/arrowfail004.stderr
@@ -0,0 +1,7 @@
+
+arrowfail004.hs:12:15:
+ Proc patterns cannot use existential or GADT data constructors
+ In the pattern: T x
+ In the expression: proc (T x) -> do { returnA -< T x }
+ In an equation for `panic':
+ panic = proc (T x) -> do { returnA -< T x }