diff options
| author | Paolo Carlini <paolo.carlini@oracle.com> | 2009-11-16 08:31:26 +0000 |
|---|---|---|
| committer | Paolo Carlini <paolo@gcc.gnu.org> | 2009-11-16 08:31:26 +0000 |
| commit | 0229b692f4cba2d23b960284c79384b6f5b2309a (patch) | |
| tree | 1e489fe775913d9cc90f3d4f84139b663da9da30 /gcc/tree-inline.c | |
| parent | 0fc4f703e53c1282e7ff8613b235194ae815e721 (diff) | |
| download | gcc-0229b692f4cba2d23b960284c79384b6f5b2309a.zip gcc-0229b692f4cba2d23b960284c79384b6f5b2309a.tar.gz gcc-0229b692f4cba2d23b960284c79384b6f5b2309a.tar.bz2 | |
re PR c++/32056 (Storage classes on template parameters)
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.
From-SVN: r154198
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions
