[project @ 2001-08-22 12:24:41 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail039.hs
diff --git a/ghc/tests/typecheck/should_fail/tcfail039.hs b/ghc/tests/typecheck/should_fail/tcfail039.hs
deleted file mode 100644 (file)
index 3340c3b..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
--- !!! bogus re-use of prelude class-method name (==)
---
-module ShouldFail where
-
-data NUM = ONE | TWO
-class EQ a where
-       (==) :: a -> a -> Bool
-
-instance EQ NUM where
-       a /= b = False
-       a == b = True