re PR c++/34267 (ICE applying __decltype to name of template class)
PR c++/34267 PR c++/34268 * parser.c (cp_parser_decltype): Don't call finish_id_expression on ~type. * semantics.c (finish_decltype_type): Issue error on types, TYPE_DECLs and ~type early. * g++.dg/cpp0x/decltype7.C: New test. * g++.dg/cpp0x/decltype8.C: New test. From-SVN: r130519
Showing
gcc/testsuite/g++.dg/cpp0x/decltype7.C
0 → 100644
gcc/testsuite/g++.dg/cpp0x/decltype8.C
0 → 100644
Please
register
or
sign in
to comment