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
Add an UNSPEC_PROLOGUE_USE to prevent the link register from being considered dead.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
koenig6.C
blob
dc549038500d725f928b43f4512080318b4cafa3
1
namespace A{
2
struct X{};
3
4
X foo(X a){return a;}
5
void bar(X*){}
6
}
7
8
int main()
9
{
10
A::X x;
11
bar(&foo(x)); // WARNING - address of temporary
12
}