Commit c639560d authored by Simon Peyton Jones's avatar Simon Peyton Jones

Test Trac #9739

parent abfbdd1c
module T9739 where
class Class2 a => Class1 a where
class3 :: (Class2 a) => b
class (Class1 a) => Class2 a where
T9739.hs:3:1:
Cycle in class declaration (via superclasses):
Class1 -> Class2 -> Class1
In the class declaration for ‘Class1’
T9739.hs:6:1:
Cycle in class declaration (via superclasses):
Class2 -> Class1 -> Class2
In the class declaration for ‘Class2’
......@@ -341,3 +341,4 @@ test('T9323', normal, compile_fail, [''])
test('T9415', normal, compile_fail, [''])
test('T9612', normal, compile_fail, [''])
test('T9634', normal, compile_fail, [''])
test('T9739', 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