summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr63453.c
blob: e6337aa2f5c7d294bdeca57a4da40902867d3f5c (plain)
1
2
3
4
5
6
7
8
/* PR c/63453 */
/* { dg-do compile } */
/* { dg-options "-std=gnu11" } */

inline int fn1 (void); /* { dg-warning "declared but never defined" } */
extern inline int fn2 (void); /* { dg-warning "declared but never defined" } */
inline int __attribute__ ((gnu_inline)) fn3 (void);
extern inline int __attribute__ ((gnu_inline)) fn4 (void);