Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
inline6.C
blob: b1616c7e721c3579d79d19d2c537cbb37884c389 [
file
] [
log
] [
blame
]
// PR c++/13081
// { dg-options "-O2" }
// { dg-final { scan-assembler-not "\n_?_Z3fooIlET_S0_\[: \t\n\]" } }
template
<
typename
T
>
T foo
(
T
);
template
<
typename
T
>
inline
T foo
(
T t
)
{
return
t
;
}
void
bar
(
long
&
l
)
{
l
=
foo
(
l
);
}