Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/inline-15.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* 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" } */