summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_compile/tc046.hs
blob: c1ae30c96cad5596ad9542087aa12cf04de0d535 (plain)
1
2
3
4
5
6
7
8
9
module ShouldSucceed where

class C a where
 op1 :: a -> a

class (C a) => B a where
 op2 :: a -> a -> a

{- Failed hard in new tc with "No match in theta_class" -}