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
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
inline6.C
blob
b1616c7e721c3579d79d19d2c537cbb37884c389
1
// PR c++/13081
2
// { dg-options "-O2" }
3
// { dg-final { scan-assembler-not "\n_?_Z3fooIlET_S0_\[: \t\n\]" } }
4
5
template<typename T> T foo(T);
6
7
template<typename T> inline T foo(T t)
8
{
9
return t;
10
}
11
12
void bar (long& l) {
13
l = foo(l);
14
}