summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T11450.hs
blob: 59ef495c534fd97f5a77e44f5c227cefc3619078 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE TypeFamilies #-}

module T11450 where

class C x where
  type T x

instance C (Either a b) where
  type T (Either b a) = b -> a