re PR c++/20142 (implicit assignment operator with multi-dimensional array is broken)
PR c++/20142 * cp-tree.h (target_type): Remove. * decl.c (layout_var_decl): Remove #if 0'd code. (cp_finish_decl): Remove dead code. * init.c (build_vec_init): When determining whether or not the element type has an asignment operator, look through all array dimensions. * typeck.c (target_type): Remove. PR c++/20142 * g++.dg/init/array18.C: New test. From-SVN: r96170
Showing
gcc/testsuite/g++.dg/init/array18.C
0 → 100644
Please
register
or
sign in
to comment