summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail217.hs
blob: 47c5078f0294da5d7d163885dd1e449c60302fe8 (plain)
1
2
3
4
5
6
7
-- Test we can't hide cycles with type synonyms
{-# LANGUAGE ConstraintKinds, MultiParamTypeClasses, UndecidableInstances #-}
module TcFail where

type Aish = A

class cls (Aish cls) => A cls c where