diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-11-29 22:04:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-11-29 22:04:04 +0100 |
commit | 7a547b936c01964cfcc9543db0d86c008f7269da (patch) | |
tree | 6d76a7a037f9bac1f6c110f41cfb1978b264a6a1 /gcc/fortran/misc.c | |
parent | 10650fbb88871139f242597b1f081041868c43f6 (diff) | |
download | gcc-7a547b936c01964cfcc9543db0d86c008f7269da.zip gcc-7a547b936c01964cfcc9543db0d86c008f7269da.tar.gz gcc-7a547b936c01964cfcc9543db0d86c008f7269da.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/misc.c')
0 files changed, 0 insertions, 0 deletions