summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T6018Afail.hs
blob: 95184a177c088847deca2cce347bc24abb8a6169 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE TypeFamilies #-}

module T6018Afail where

type family G a b c = (result :: *) | result -> a b c
type instance G Int  Char Bool = Bool
type instance G Char Bool Int  = Int