re PR c++/8227 (g++ 3.3: ctors not called in static array initialization)
PR c++/8227 * decl.c (layout_var_decl): Deal gracefully with erroneous types. (check_initializer): Validate the type of the initialized variable, even if the initializer is absent. * typeck.c (cp_type_quals): Deal gracefully with erroneous types. PR c++/8227 * g++.dg/template/ctor2.C: New test. From-SVN: r59672
Showing
gcc/testsuite/g++.dg/template/ctor2.C
0 → 100644
Please
register
or
sign in
to comment