diff options
| author | lmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-25 19:58:10 +0000 |
|---|---|---|
| committer | lmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-25 19:58:10 +0000 |
| commit | 6d9bff9fd45d8279db22dfbfbd28044a08e7aeaa (patch) | |
| tree | 2c56dcc26e3d0df9849f035f979db2f24b1c0063 /libjava/classpath/gnu/java | |
| parent | 2ed0bcc0e4c0784d4408fbf4204649e2283b34c9 (diff) | |
| download | ppe42-gcc-6d9bff9fd45d8279db22dfbfbd28044a08e7aeaa.tar.gz ppe42-gcc-6d9bff9fd45d8279db22dfbfbd28044a08e7aeaa.zip | |
PR c++/27667
* cp-tree.h (begin_specialization): Return bool instead of void.
* pt.c (check_specialization_scope): Likwise. Adjust comment.
Return false if a specialization isn't permitted in the current scope,.
(begin_specialization): Use the return value of
check_specialization_scope.
* parser.c (cp_parser_explicit_specialization): If
begin_specialization returned false, skip the rest of the
specialization.
* g++.dg/template/spec33.C: New test.
* g++.old-deja/g++.pt/spec20.C: Adjust error markers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117206 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions

