(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
init/
new10.C
// PR c++/14452
// We got confused trying to preevaluate the new-initializer.

struct S {}; 
void foo (bool b) 
{ 
  new S(b ? S() : S()); 
}