aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr97955.c
blob: a5236c76c94d54a975847326c0d3bd97bd63bf2b (plain)
1
2
3
4
5
6
7
/* PR 97955 - ICE in build_array_type_1 on invalid redeclaration of function
   with VLA parameter
   { dg-do compile }
   { dg-options "-Wall" } */

void f (int n, int a[n]);
void f (int *b) { }           // { dg-error "conflicting types" }