blob: 84ced19f14f7fed7850a320c7a200d65997eefba (
plain)
1
2
3
4
5
6
7
8
|
-- Test case of known literal with wraparound
test = case 1 :: Int of
0x10000000000000001 -> "A"
_ -> "B"
test2 = case 0x10000000000000001 :: Int of
1 -> "A"
_ -> "B"
main = putStrLn $ test ++ test2
|