PR c++/91705 - constexpr evaluation rejects ++/-- on floats.
* constexpr.c (cxx_eval_increment_expression): Call fold_simple on the offset. * g++.dg/cpp1y/constexpr-incr2.C: New test. From-SVN: r275613
Showing
gcc/testsuite/g++.dg/cpp1y/constexpr-incr2.C
0 → 100644
Please
register
or
sign in
to comment