PR c++/87567 - constexpr rejects call to non-constexpr function.
* constexpr.c (potential_constant_expression_1) <case FOR_STMT>: Return true if the condition is always false. <case WHILE_STMT>: Likewise. * g++.dg/cpp1y/constexpr-loop7.C: New test. From-SVN: r265027
Showing
gcc/testsuite/g++.dg/cpp1y/constexpr-loop7.C
0 → 100644
Please
register
or
sign in
to comment