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

module Simple10 where

type family T a

foo, bar :: T a -> a
foo = undefined
bar x = foo x