2 /* Only consider function names, function pointers and macros for implicit function declarations. */
3 /* { dg-do compile } */
4 /* { dg-options "-Wimplicit-function-declaration -fdiagnostics-show-caret" } */
11 fn1badc (); /* { dg-warning "3: implicit declaration of function .fn1badc.; did you mean .fn1abcd.?" } */
12 /* { dg-begin-multiline-output "" }
16 { dg-end-multiline-output "" } */
20 void (*fn2efhg
) (void);
25 fn2fehg (); /* { dg-warning "3: implicit declaration of function .fn2fehg.; did you mean .fn2efhg.?" } */
26 /* { dg-begin-multiline-output "" }
30 { dg-end-multiline-output "" } */
39 fn3jilk (); /* { dg-warning "3: implicit declaration of function .fn3jilk.; did you mean .fn3ijkl.?" } */
40 /* { dg-begin-multiline-output "" }
44 { dg-end-multiline-output "" } */