Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Winline-1.C
blob: f9ee4658315524dd39201691e6be6bc8c56ebc5a [
file
] [
log
] [
blame
]
// { dg-options "-Winline -O2 -fno-unit-at-a-time" }
static
inline
int
foo
(
int
x
);
// { dg-warning "" }
int
main
()
{
return
(
foo
(
17
));
// { dg-warning "" }
}
inline
int
foo
(
int
x
)
{
return
(
x
);
}