re PR c++/84927 (ICE with NSDMI and reference)
PR c++/84927 * constexpr.c (cxx_eval_bare_aggregate): Update constructor's flags as we evaluate the elements. (cxx_eval_constant_expression): Verify constructor's flags unconditionally. * g++.dg/cpp1y/nsdmi-aggr9.C: New test. From-SVN: r258661
Showing
gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr9.C
0 → 100644
Please
register
or
sign in
to comment