summaryrefslogtreecommitdiff
path: root/testsuite/tests/arrows/should_fail/T2111.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/arrows/should_fail/T2111.stderr')
-rw-r--r--testsuite/tests/arrows/should_fail/T2111.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/arrows/should_fail/T2111.stderr b/testsuite/tests/arrows/should_fail/T2111.stderr
new file mode 100644
index 0000000000..9c6c17fb53
--- /dev/null
+++ b/testsuite/tests/arrows/should_fail/T2111.stderr
@@ -0,0 +1,13 @@
+
+T2111.hs:1:16:
+ Warning: -XRecursiveDo is deprecated: use -XDoRec or pragma {-# LANGUAGE DoRec #-} instead
+
+T2111.hs:6:23:
+ The arrow command
+ undefined -< x
+ was found where an expression was expected
+ In a stmt of a 'do' block: x <- undefined -< x
+ In a stmt of a 'do' block: rec {x <- undefined -< x}
+ In the expression:
+ do { rec {x <- undefined -< x};
+ undefined -< x }