PR c++/90473 - wrong code with nullptr in default argument.
* call.c (null_ptr_cst_p): Update quote from the standard. * decl.c (check_default_argument): Don't return nullptr when the arg has side-effects. * g++.dg/cpp0x/nullptr42.C: New test. From-SVN: r274382
Showing
gcc/testsuite/g++.dg/cpp0x/nullptr42.C
0 → 100644
Please
register
or
sign in
to comment