Debian Codegraph @

gcc/testsuite/gcc.dg/noncompile/pr71573.c

raw
1 /* PR c/71573 */
2 /* { dg-do compile } */
3
4 void
5 f1 (void)
6 {
7 extern int t;
8 }
9
10 void
11 f2 (void)
12 {
13 t (0); /* { dg-error "called object .t. is not a function or function pointer" } */
14 }