summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail027.hs
blob: e01f6961bd3cfe465daac0e733db4af373f374e3 (plain)
1
2
3
4
5
6
7
8
-- !!! tests for CycleErr in classes
module TcFail where

class (B a) => A a where
 op1 :: a -> a

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