Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
gcc
/
testsuite
/
g++.dg
/
init
/
new10.C
blob: e19629bc00bdb463ce8ea394c620817d89a01d76 [
file
] [
log
] [
blame
]
// PR c++/14452
// We got confused trying to preevaluate the new-initializer.
struct
S
{};
void
foo
(
bool
b
)
{
new
S
(
b
?
S
()
:
S
());
}