summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/TyFamArity2.hs
blob: 2bff129925ed7084887f6d936e79817991d3be00 (plain)
1
2
3
4
{-# LANGUAGE TypeFamilies #-}

type family T a :: * -> *
type instance T Int Float = Char   -- must fail: extra arguments