summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/T3263-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/T3263-2.stderr')
-rw-r--r--testsuite/tests/deSugar/should_compile/T3263-2.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/T3263-2.stderr b/testsuite/tests/deSugar/should_compile/T3263-2.stderr
new file mode 100644
index 0000000000..3f92403e84
--- /dev/null
+++ b/testsuite/tests/deSugar/should_compile/T3263-2.stderr
@@ -0,0 +1,13 @@
+
+on the commandline:
+ Warning: -XRecursiveDo is deprecated: use -XDoRec or pragma {-# LANGUAGE DoRec #-} instead
+
+T3263-2.hs:25:3:
+ Warning: A do-notation statement discarded a result of type m Int.
+ Suppress this warning by saying "_ <- return (return 10 :: m Int)",
+ or by using the flag -fno-warn-wrong-do-bind
+
+T3263-2.hs:37:3:
+ Warning: A do-notation statement discarded a result of type m Int.
+ Suppress this warning by saying "_ <- return (return 10 :: m Int)",
+ or by using the flag -fno-warn-wrong-do-bind