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

o (True,x) = x
o (False,y) = y+1