summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T11458.hs
blob: b0f8cfa513d1ae7886874eaa2962fb3848c758da (plain)
1
2
3
4
5
module T11458 where

optIntArg f = (f Nothing, f (Just True))

optIntArg2 f = (f (Just True), f Nothing)