diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc078.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc078.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc078.hs b/testsuite/tests/typecheck/should_compile/tc078.hs new file mode 100644 index 0000000000..de5e748d20 --- /dev/null +++ b/testsuite/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) |