re PR c++/23699 (rejects static int as non constant after "extern template")
PR c++/23699 * decl2.c (mark_used): Always instantiate static data members initialized by constant expressions. * pt.c (instantiate_decl): Instantiate the initializers for static data members initialized by constant expressions. PR c++/21687 * semantics.c (expand_or_defer_fn): Do not call ggc_collect when finishing processing for a template function in a local class. Revert: 2005-09-02 Mark Mitchell <mark@codesourcery.com> * parser.c (cp_parser_class_specifier): Push/pop GC contexts around functions in local classes. PR c++/23699 * g++.dg/ext/static1.C: New test. From-SVN: r103806
Showing
gcc/testsuite/g++.dg/ext/static1.C
0 → 100644
Please
register
or
sign in
to comment