re PR c++/34862 (operator new placement variant with reference arg not accepted by g++ 4.3)
PR c++/34862 * init.c (build_new_1): Don't create placement_expr before constructing alloc_call. Verify that the pointer is passed by value to operator new. * g++.dg/init/new27.C: New test. From-SVN: r132257
Showing
gcc/testsuite/g++.dg/init/new27.C
0 → 100644
Please
register
or
sign in
to comment