[project @ 1997-07-31 00:05:10 by sof]
[ghc-hetmet.git] / ghc / compiler / tests / typecheck / should_fail / tcfail056.hs
diff --git a/ghc/compiler/tests/typecheck/should_fail/tcfail056.hs b/ghc/compiler/tests/typecheck/should_fail/tcfail056.hs
deleted file mode 100644 (file)
index a8a1315..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-module ShouldFail where
-
-data Foo = MkFoo Bool
-
-instance Eq Foo where
-    (MkFoo x) == (MkFoo y) = x == y
-
-instance Eq Foo where
-    -- forgot to type "Ord" above
-    (MkFoo x) <= (MkFoo y) = x <= y
-