Commit 6b4527a8 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Test Trac #5951

parent 0c8318e4
module T5951 where
class A a
class B b
class C c
instance
A =>
B =>
C where
foo = undefined
T5951.hs:8:8: Malformed instance: A => B => C
......@@ -101,3 +101,4 @@ test('T5745',
multimod_compile_fail, ['T5745', '-v0'])
test('T5892a', normal, compile_fail, [''])
test('T5892b', normal, compile_fail, [''])
test('T5951', normal, compile_fail, [''])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment