re PR c++/14258 (typename in a using declaration not supported)
gcc/testsuite/ChangeLog 2011-12-11 Fabien Chene <fabien@gcc.gnu.org> PR c++/14258 * g++.dg/template/using16.C: New. * g++.dg/template/using17.C: New. gcc/cp/ChangeLog 2011-12-11 Fabien Chene <fabien@gcc.gnu.org> PR c++/14258 * cp-tree.h (USING_DECL_TYPENAME_P): New macro. * parser.c (cp_parser_nonclass_name): Handle using declarations that refer to a dependent type. (cp_parser_using_declaration): Set USING_DECL_TYPENAME_P to 1 if the using declaration refers to a dependent type. From-SVN: r182292
Showing
gcc/testsuite/g++.dg/template/using16.C
0 → 100644
gcc/testsuite/g++.dg/template/using17.C
0 → 100644
Please
register
or
sign in
to comment