summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/inline-15.c
blob: e668191159a70a2d27c3215fcd13d90a99ef6d73 (plain)
1
2
3
4
5
6
7
/* Check that an error message is produced when a C99 inline function
   is never defined.  */
/* { dg-do compile } */
/* { dg-options "-std=c99" } */

extern inline int func1 (void); /* { dg-warning "never defined" } */
inline int func2 (void); /* { dg-warning "never defined" } */