Debian Codegraph @

gcc/testsuite/gcc.dg/pr91193-2.c

raw
1 /* Test ICE using function name in parameter type in old-style function
2 definition (bug 91193). */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu17" } */
5
6 typedef int T;
7
8 void
9 f (void)
10 {
11 void T (x) T x; { } /* { dg-error "expected declaration specifiers|defaults to 'int'" } */
12 }