Files
c3c/test/test_suite/arrays/negative_array.c3

4 lines
153 B
Plaintext

usize z = -1; // #error: Negative number '-1'
int[-1] a; // #error: Negative number '-1'
int[10-20] b; // #error: '-10' underflows type 'ulong'