summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_run/T7126.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_run/T7126.hs')
-rw-r--r--testsuite/tests/typecheck/should_run/T7126.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_run/T7126.hs b/testsuite/tests/typecheck/should_run/T7126.hs
index ce9792de37..184d5df1f0 100644
--- a/testsuite/tests/typecheck/should_run/T7126.hs
+++ b/testsuite/tests/typecheck/should_run/T7126.hs
@@ -24,7 +24,7 @@ class Class2 a => Class3 a where
instance Class1 Int where
func1 = id
-instance Class3 a => Class2 a where
+instance (Class1 a, Class3 a) => Class2 a where
func2 = func3
instance Class3 Int where