enum8.C
119 Bytes
-
re PR c++/47704 ([C++0x] Java-related error message when trying to instantiate a… · 4e3c0a15
re PR c++/47704 ([C++0x] Java-related error message when trying to instantiate a strongly typed enum with new) PR c++/47704 * cp-tree.h (ENUM_FIXED_UNDERLYING_TYPE_P): Use TYPE_LANG_FLAG_5 instead of TYPE_LANG_FLAG_3. * pt.c (lookup_template_class): Copy over ENUM_FIXED_UNDERLYING_TYPE_P. * g++.dg/cpp0x/enum8.C: New test. From-SVN: r170209
Jakub Jelinek committed