Debian Codegraph @

gcc/testsuite/gcc.dg/pr97955.c

raw
1 /* PR 97955 - ICE in build_array_type_1 on invalid redeclaration of function
2 with VLA parameter
3 { dg-do compile }
4 { dg-options "-Wall" } */
5
6 void f (int n, int a[n]);
7 void f (int *b) { } // { dg-error "conflicting types" }