From 227a02db20a19fee41150cb63fb53e20fed2f18b Mon Sep 17 00:00:00 2001 From: simonm <unknown> Date: Fri, 5 Sep 1997 14:22:53 +0000 Subject: [PATCH] [project @ 1997-09-05 14:22:53 by simonm] bring this back --- ghc/tests/typecheck/should_compile/tc078.hs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ghc/tests/typecheck/should_compile/tc078.hs diff --git a/ghc/tests/typecheck/should_compile/tc078.hs b/ghc/tests/typecheck/should_compile/tc078.hs new file mode 100644 index 000000000000..4625f65ac09b --- /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) -- GitLab