pt.c
307 KB
-
re PR c++/8227 (g++ 3.3: ctors not called in static array initialization) · 328de7c2
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
Mark Mitchell committed