OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR testsuite/30179
[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
}