1 /* PR c/100550 - ICE: in fold_convert_loc with function call VLA argument
3 { dg-options "-Wall" } */
12 /* Verify that a function redeclaration with an invalid VLA doesn't ICE. */
15 void f0 (int[undeclared
]); // { dg-error "undeclared" }
18 void f1 (int[-1]); // { dg-error "size" }
21 void f2 (int[v
]); // { dg-error "size" }
24 void f3 (int b
[s
]); // { dg-error "size" }
27 void f4 (int c
[pv
]); // { dg-error "size" }
30 void f5 (int d
[vf ()]); // { dg-error "size" }