1 /* A function definition of an inline function following a static
2 declaration does not make an inline definition in C99/C11 terms.
4 /* { dg-do compile } */
5 /* { dg-options "-std=c99 -pedantic-errors" } */
9 static inline int f1 (void);
10 inline int f1 (void) { return n
; }
13 inline int f2 (void) { return n
; }
15 static inline int f3 (void);
16 int f3 (void) { return n
; }
19 int f4 (void) { return n
; }