From: simonm Date: Fri, 5 Sep 1997 14:22:53 +0000 (+0000) Subject: [project @ 1997-09-05 14:22:53 by simonm] X-Git-Tag: Approx_2487_patches~1523 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=227a02db20a19fee41150cb63fb53e20fed2f18b;p=ghc-hetmet.git [project @ 1997-09-05 14:22:53 by simonm] bring this back --- diff --git a/ghc/tests/typecheck/should_compile/tc078.hs b/ghc/tests/typecheck/should_compile/tc078.hs new file mode 100644 index 0000000..4625f65 --- /dev/null +++ b/ghc/tests/typecheck/should_compile/tc078.hs @@ -0,0 +1,8 @@ +--!!! instance decls with no binds +-- +module ShouldFail where + +data Bar a = MkBar Int a + +instance Eq a => Eq (Bar a) +instance Ord a => Ord (Bar a)