summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T9739.hs
blob: 4b7869d3150f2c2b01fa92c59ac9e2817dec1e54 (plain)
1
2
3
4
5
6
module T9739 where

class Class2 a => Class1 a where
  class3 :: (Class2 a) => b

class (Class1 a) => Class2 a where