• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1### Compilation failed:
2
3error: 1: expected array, but found 'int'
4void int_not_array()      { int x = 2[0]; }
5                                    ^
6error: 2: expected array, but found 'float'
7void index_float2_twice() { float2 x = float2(0); int y = x[0][0]; }
8                                                          ^^^^
92 errors
10