diff options
Diffstat (limited to 'ghc/compiler/tests/typecheck/should_fail/tcfail013.stderr')
-rw-r--r-- | ghc/compiler/tests/typecheck/should_fail/tcfail013.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ghc/compiler/tests/typecheck/should_fail/tcfail013.stderr b/ghc/compiler/tests/typecheck/should_fail/tcfail013.stderr new file mode 100644 index 0000000000..81b18dd3ea --- /dev/null +++ b/ghc/compiler/tests/typecheck/should_fail/tcfail013.stderr @@ -0,0 +1,9 @@ + +"tcfail013.hs", line 3: + Couldn't match type "[tt2]" against "Bool". + Inside two equations or case alternatives: + ... [] -> 1 + ... True -> 2 +Fail: Compilation errors found + +ghc: execution of the Haskell compiler had trouble |