Files
c3c/test/test_suite/cast/out_of_range_unlong.c3
2025-07-09 03:09:10 +02:00

6 lines
313 B
Plaintext

fn int main()
{
ulong x = ulong.max - 1; // #error: This expression (0xFFFFFFFFFFFFFFFF) will be implicitly converted to a signed type due to the right-hand side being signed
ulong x1 = -1 + ulong.max; // #error: converted to a signed type due to the left-hand side being signed, but the value does
return 0;
}