Idris2/tests/idris2/reg/reg020/matchlits.idr
2023-09-07 14:57:22 +01:00

7 lines
111 B
Idris

test1 : Int -> Int
test1 0b101 = 5
test1 0x100 = 42
test1 0o100 = 43
test1 1234567890 = 44
test1 _ = 0