diff options
author | Ian Lynagh <igloo@earth.li> | 2011-01-21 19:28:58 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-01-21 19:28:58 +0000 |
commit | 1ffd496e6c43164cea471a4ec2b9da982adef586 (patch) | |
tree | 9cb839397d382259014f22eb959f622173dbc244 /testsuite/tests/ghc-regress/mdo | |
parent | b63366f7b56aa5ef4559b2568fb90e31526cdbaa (diff) | |
download | haskell-1ffd496e6c43164cea471a4ec2b9da982adef586.tar.gz |
Add 7.0 output for mdofail00* tests
Diffstat (limited to 'testsuite/tests/ghc-regress/mdo')
4 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-regress/mdo/should_fail/mdofail001.stderr-ghc-7.0 b/testsuite/tests/ghc-regress/mdo/should_fail/mdofail001.stderr-ghc-7.0 new file mode 100644 index 0000000000..189c414315 --- /dev/null +++ b/testsuite/tests/ghc-regress/mdo/should_fail/mdofail001.stderr-ghc-7.0 @@ -0,0 +1,8 @@ + +mdofail001.hs:10:36: + No instance for (Num Char) + arising from the literal `3' + Possible fix: add an instance declaration for (Num Char) + In the expression: 3 + In the first argument of `l', namely `[1, 2, 3]' + In the expression: l [1, 2, 3] diff --git a/testsuite/tests/ghc-regress/mdo/should_fail/mdofail002.stderr-ghc-7.0 b/testsuite/tests/ghc-regress/mdo/should_fail/mdofail002.stderr-ghc-7.0 new file mode 100644 index 0000000000..a1327c6dfd --- /dev/null +++ b/testsuite/tests/ghc-regress/mdo/should_fail/mdofail002.stderr-ghc-7.0 @@ -0,0 +1,5 @@ + +mdofail002.hs:10:9: + Conflicting definitions for `x' + Bound at: mdofail002.hs:10:9 + mdofail002.hs:11:9 diff --git a/testsuite/tests/ghc-regress/mdo/should_fail/mdofail003.stderr-ghc-7.0 b/testsuite/tests/ghc-regress/mdo/should_fail/mdofail003.stderr-ghc-7.0 new file mode 100644 index 0000000000..e093fe0a75 --- /dev/null +++ b/testsuite/tests/ghc-regress/mdo/should_fail/mdofail003.stderr-ghc-7.0 @@ -0,0 +1,5 @@ + +mdofail003.hs:10:9: + Conflicting definitions for `x' + Bound at: mdofail003.hs:10:9 + mdofail003.hs:11:13 diff --git a/testsuite/tests/ghc-regress/mdo/should_fail/mdofail004.stderr-ghc-7.0 b/testsuite/tests/ghc-regress/mdo/should_fail/mdofail004.stderr-ghc-7.0 new file mode 100644 index 0000000000..63c0cae6ac --- /dev/null +++ b/testsuite/tests/ghc-regress/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, ....] } |