repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
init
/
new10.C
blob
e19629bc00bdb463ce8ea394c620817d89a01d76
1
// PR c++/14452
2
// We got confused trying to preevaluate the new-initializer.
3
4
struct S {};
5
void foo (bool b)
6
{
7
new S(b ? S() : S());
8
}