summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/T10855.hs
blob: cc66f5d4b397a94703d1688a4af5e31841628e43 (plain)
1
2
3
4
5
module T10855 where

bool :: Int
bool = - case 3 > 5 of False -> 0; True -> (-1)
main = print (- do 4)