summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_compile/tc025.hs
blob: e9adf9acb5713e387877dae7251ec697ff70219c (plain)
1
2
3
module ShouldSucceed where

g x = f (f True x) x where f x y = if x then y else (f x y)