2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / inline6.c
blob3b9e3e99e959850f23bfd9769d3c72f2263892e0
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" } */
8 extern inline int func2 (void) {
9 return j++;
11 inline int func3 (void)
13 return i++;