diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-16 08:31:26 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-16 08:31:26 +0000 |
commit | 3b901c355f6dcf946ed6e12c057e3ca3a65547e5 (patch) | |
tree | 1e489fe775913d9cc90f3d4f84139b663da9da30 /gcc/cgraphunit.c | |
parent | 33570e910e0087f1e0d55241211e825c1be42f4e (diff) | |
download | gcc-3b901c355f6dcf946ed6e12c057e3ca3a65547e5.tar.gz |
cp/
2009-11-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/32056
* decl.h (enum decl_context): Add TPARM enumerator.
* decl.c (grokdeclarator): Per 14.1/2, error out if a storage class
is specified in a template parameter declaration.
* parser.c (cp_parser_template_parameter): Call grokdeclarator with
TPARM as third argument.
testsuite/
2009-11-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/32056
* testsuite/g++.dg/template/error44.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154198 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
0 files changed, 0 insertions, 0 deletions