repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
inline6.c
blob
3b9e3e99e959850f23bfd9769d3c72f2263892e0
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
}