summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/stranal/should_compile/fun.hs
blob: 5bab460f3fe460f136ec9845ca4c19edb4d616fb (plain)
1
2
3
4
5
6
module Test where
data Fun = MkFun (Fun -> Fun)
data LList a = Nill | Conss a (LList a)

g :: Fun -> Fun
g f = f