OSDN Git Service

PR c/44051
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / inline6.c
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } */
3 static int i;
4 extern int j;
5 extern inline int func1 (void) {
6   return i++;  /* { dg-warning "static" } */
7 }
8 extern inline int func2 (void) {
9   return j++;
10 }
11 inline int func3 (void) 
12 {
13   return i++;
14 }