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

module T6123 where

type family Id a

cid :: a ~ Id a => a -> a
cid x = x

cundefined = cid undefined