1 /* PR c/100619 - ICE on a VLA parameter with too many dimensions
3 { dg-options "-Wall" } */
7 #define A10 [n][n][n][n][n][n][n][n][n][n]
8 #define A100 A10 A10 A10 A10 A10 A10 A10 A10 A10 A10 A10
9 #define A1000 A100 A100 A100 A100 A100 A100 A100 A100 A100 A100 A100
17 void f1000 (int A1000
);
18 void f1000 (int A1000
);
20 void fx_1000 (int [ ]A1000
);
21 void fx_1000 (int [1]A1000
); // { dg-warning "-Warray-parameter" }
23 void fn_1000 (int [n
]A1000
);
24 void fn_1000 (int [n
+ 1]A1000
); // { dg-warning "-Wvla-parameter" }