Files
c3c/test/test_suite/literals/radix_numbers_errors.c3
Christoffer Lerno 25bccf4883 New faults and syntax (#2034)
- Remove `[?]` syntax.
- Change `int!` to `int?` syntax.
- New `fault` declarations.
- Enum associated values can reference the calling enum.
2025-03-10 00:11:35 +01:00

18 lines
814 B
Plaintext

0o8 // #error: An expression starting with '0o' should be followed by octal numbers (0-7).
0o% // #error: An expression starting with '0o' should be followed by octal numbers (0-7).
0o08 // #error: An expression starting with '0o' should be followed by octal numbers (0-7).
0b2 // #error: An expression starting with '0b' should be followed by binary digits
0b# // #error: An expression starting with '0b' should be followed by binary digits
0b12 // #error: An expression starting with '0b' should be followed by binary digits
0xg // #error: '0x' starts a hexadecimal number, so the next character should be 0-9, a-f or A-F.
0x? // #error: '0x' starts a hexadecimal number, so the next character should be 0-9, a-f or A-F.
0b // #error: An expression starting with '0b' should be followed by binary digits