blob: 3b9e3e99e959850f23bfd9769d3c72f2263892e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile } */
/* { dg-options "-std=gnu89" } */
static int i;
extern int j;
extern inline int func1 (void) {
return i++; /* { dg-warning "static" } */
}
extern inline int func2 (void) {
return j++;
}
inline int func3 (void)
{
return i++;
}
|