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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Winline-1.C
blob
f9ee4658315524dd39201691e6be6bc8c56ebc5a
1
// { dg-options "-Winline -O2 -fno-unit-at-a-time" }
2
3
static inline int foo(int x); // { dg-warning "" }
4
5
int main()
6
{
7
return(foo(17)); // { dg-warning "" }
8
}
9
10
inline int foo(int x) { return(x); }