Fix PR c++/70332 (ICE due to aggregate initialization of NSDMI)
gcc/cp/ChangeLog: PR c++/70332 * pt.c (tsubst_copy) [PARM_DECL]: Handle the use of 'this' in an NSDMI that's part of an aggregrate initialization. gcc/testsuite/ChangeLog: PR c++/70332 * g++.dg/cpp1y/nsdmi-aggr5.C: New test. From-SVN: r234442
Showing
gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr5.C
0 → 100644
Please
register
or
sign in
to comment