[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / tests / typecheck / should_fail / tcfail023.stderr
diff --git a/ghc/compiler/tests/typecheck/should_fail/tcfail023.stderr b/ghc/compiler/tests/typecheck/should_fail/tcfail023.stderr
new file mode 100644 (file)
index 0000000..52dd9fa
--- /dev/null
@@ -0,0 +1,11 @@
+"tcfail023.hs", line 8: Duplicate/overlapping instances:
+    class "A", type "B"; at "tcfail023.hs", line 8 and "tcfail023.hs", line 11
+"tcfail023.hs", line 11:
+    Couldn't match type "Bool" against "B".
+    Inside a function binding:
+       op ... C = True
+Fail: Compilation errors found
+
+ghc: execution of the Haskell compiler had trouble