PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / inline-15.c
blobe668191159a70a2d27c3215fcd13d90a99ef6d73
1 /* Check that an error message is produced when a C99 inline function
2 is never defined. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=c99" } */
6 extern inline int func1 (void); /* { dg-warning "never defined" } */
7 inline int func2 (void); /* { dg-warning "never defined" } */