1### Compilation failed: 2 3error: 1: array size must be positive 4void a1() { float[-2]; } 5 ^^ 6error: 2: array size must be positive 7void b1() { float[-1]; } 8 ^^ 9error: 3: array size must be positive 10void c1() { float[0]; } 11 ^ 12error: 4: expected 'int', but found 'float' 13void d1() { float[1.5]; } 14 ^^^ 15error: 5: value is out of range for type 'int': 4000000000 16void e1() { float[4000000000]; } 17 ^^^^^^^^^^ 18error: 5: array size must be positive 19void e1() { float[4000000000]; } 20 ^^^^^^^^^^ 21error: 6: expected 'int', but found 'bool' 22void f1() { float[true]; } 23 ^^^^ 24error: 7: expected 'int', but found 'bool' 25void g1() { float[false]; } 26 ^^^^^ 27error: 8: expected 'int', but found 'int2' 28void h1() { float[int2(2, 2)]; } 29 ^^^^^^^^^^ 30error: 9: missing index in '[]' 31void i1() { float[]; } 32 ^^ 33error: 10: value is out of range for type 'int': 4000000000 34void j1() { float[int3(4000000000)]; } 35 ^^^^^^^^^^ 36error: 11: value is out of range for type 'int': 100000002004087734272 37void k1() { float[int(1e20)]; } 38 ^^^^ 39error: 13: array size must be positive 40void a2() { float x[-2]; } 41 ^^ 42error: 14: array size must be positive 43void b2() { float x[-1]; } 44 ^^ 45error: 15: array size must be positive 46void c2() { float x[0]; } 47 ^ 48error: 16: array size must be an integer 49void d2() { float x[1.5]; } 50 ^^^ 51error: 17: array size out of bounds 52void e2() { float x[4000000000]; } 53 ^^^^^^^^^^ 54error: 18: array size must be an integer 55void f2() { float x[true]; } 56 ^^^^ 57error: 19: array size must be an integer 58void g2() { float x[false]; } 59 ^^^^^ 60error: 20: array size must be an integer 61void h2() { float x[int2(2, 2)]; } 62 ^^^^^^^^^^ 63error: 21: unsized arrays are not permitted here 64void i2() { float x[]; } 65 ^^^^^^^^^ 66error: 22: value is out of range for type 'int': 4000000000 67void j2() { float x[int3(4000000000)]; } 68 ^^^^^^^^^^ 69error: 23: value is out of range for type 'int': 100000002004087734272 70void k2() { float x[int(1e20)]; } 71 ^^^^ 7223 errors 73