summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T5481.hs
blob: 636a587ed79ada655efe016f7f20748925933334 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TypeFamilies, MultiParamTypeClasses #-}
module T5481 where

class Foo a b where
    type X a
    type X a = b
    type Y b
    type Y b = a