8 lines
192 B
Plaintext
8 lines
192 B
Plaintext
void int_not_array() { int x = 2[0]; }
|
|
void index_float2_twice() { float2 x = float2(0); int y = x[0][0]; }
|
|
|
|
/*%%*
|
|
expected array, but found 'int'
|
|
expected array, but found 'float'
|
|
*%%*/
|