re PR c++/54777 ([C++11] Comma operator in constexpr environment can cause ICE)
PR c++/54777 * semantics.c (cxx_eval_constant_expression) <case COMPOUND_EXPR>: If not ignoring the second operand, pass the original second operand and not one with stripped nops to cxx_eval_constant_expression. * g++.dg/cpp0x/constexpr-ref4.C: New test. From-SVN: r192036
Showing
gcc/testsuite/g++.dg/cpp0x/constexpr-ref4.C
0 → 100644
Please
register
or
sign in
to comment