gcc/testsuite/gcc.dg/pr63453.c
raw| 1 | /* PR c/63453 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-std=gnu11" } */ |
| 4 | |
| 5 | inline int fn1 (void); /* { dg-warning "declared but never defined" } */ |
| 6 | extern inline int fn2 (void); /* { dg-warning "declared but never defined" } */ |
| 7 | inline int __attribute__ ((gnu_inline)) fn3 (void); |
| 8 | extern inline int __attribute__ ((gnu_inline)) fn4 (void); |