diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail135.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail135.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail135.hs b/testsuite/tests/typecheck/should_fail/tcfail135.hs new file mode 100644 index 0000000000..5cfc926085 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail135.hs @@ -0,0 +1,9 @@ +-- A missing kind check made GHC 6.4 crash on this one + +module ShoudlFail where + +class Foo f where + baa :: f a -> f + +instance Foo Maybe where + baa z = z |