enum6.C
229 Bytes
-
re PR c++/37816 ([c++0x] Invalid handling of scoped enums defined at class scope) · 60662d5f
PR c++/37816 * decl.c (build_enumerator): Don't add enumerators for a scoped enum to the enclosing class. PR c++/40639 * decl.c (start_enum): Allow dependent underlying type. PR c++/40633 * decl.c (finish_enum): Finish scope even in a template. From-SVN: r149341
Jason Merrill committed