summaryrefslogtreecommitdiff
path: root/testsuite/tests/mdo/should_fail/mdofail004.stderr-ghc-7.0
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/mdo/should_fail/mdofail004.stderr-ghc-7.0')
-rw-r--r--testsuite/tests/mdo/should_fail/mdofail004.stderr-ghc-7.07
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/mdo/should_fail/mdofail004.stderr-ghc-7.0 b/testsuite/tests/mdo/should_fail/mdofail004.stderr-ghc-7.0
new file mode 100644
index 0000000000..63c0cae6ac
--- /dev/null
+++ b/testsuite/tests/mdo/should_fail/mdofail004.stderr-ghc-7.0
@@ -0,0 +1,7 @@
+
+mdofail004.hs:17:5:
+ No instance for (MonadFix X)
+ arising from a do statement
+ Possible fix: add an instance declaration for (MonadFix X)
+ In the expression: mdo { return [1, 2, ....] }
+ In an equation for `z': z = mdo { return [1, ....] }