summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail006.hs
blob: 37fd1f9c358ffe3bfdb312e3de971275c384aa64 (plain)
1
2
3
4
5
module ShouldFail where

(j,k) = case (if True then True else False) of
         True -> (True,1)
         False -> (1,True)