summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T10141.hs
blob: a2b3931d288e0fc807a9d476f744992ea76093ea (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TypeFamilies, PolyKinds #-}

module T10141 where

type family G (a :: k) where
   G Int  = Bool
   G Bool = Int
   G a    = a