diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2012-10-15 16:47:52 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-10-15 16:47:52 +0000 |
commit | 81833173943fec6dec7287b475303e9d22387386 (patch) | |
tree | 16c3380243320131ca2a9104b161a01a40c0cd8a /libcpp/files.c | |
parent | 308a3fe2b9afc954a494c9d4e0092fb11adcd8ef (diff) | |
download | gcc-81833173943fec6dec7287b475303e9d22387386.zip gcc-81833173943fec6dec7287b475303e9d22387386.tar.gz gcc-81833173943fec6dec7287b475303e9d22387386.tar.bz2 |
re PR c++/50080 ([DR 468] error: 'template' (as a disambiguator) is only allowed within templates)
/cp
2012-10-15 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50080
* parser.c (cp_parser_optional_template_keyword): Implement
Core/468, allow outside template.
/testsuite
2012-10-15 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50080
* g++.dg/parse/tmpl-outside2.C: New.
* g++.dg/parse/tmpl-outside1.C: Adjust.
* g++.dg/template/qualttp18.C: Likewise.
* g++.old-deja/g++.pt/memtemp87.C: Likewise.
* g++.old-deja/g++.pt/overload13.C: Likewise.
From-SVN: r192465
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions