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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
temporary6.C
blob
ce6a92e586ad633bbbf2e8a7bd328c95b9cecf10
1
// Bug: the temporary from the default parameter to f2 is reused.
2
// Build don't link:
3
4
struct A {};
5
int f2 (int i, const A& ar = A());
6
void f (int i, int j = f2(1));
7
void g () { f (1); }
8
void h () { f (1); }