re PR c++/77907 (Add "const" to argument of constexpr constructor causes the…
re PR c++/77907 (Add "const" to argument of constexpr constructor causes the object to be left in unconstructed state) PR c++/77907 * cp-gimplify.c (cp_fold) <case CALL_EXPR>: When calling constructor and maybe_constant_value returns non-CALL_EXPR, create INIT_EXPR with the object on lhs and maybe_constant_value returned expr on rhs. * g++.dg/cpp0x/pr77907.C: New test. From-SVN: r242790
Showing
gcc/testsuite/g++.dg/cpp0x/pr77907.C
0 → 100644
Please
register
or
sign in
to comment