diff options
author | Dodji Seketeli <dodji@redhat.com> | 2011-11-22 16:41:10 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2011-11-22 17:41:10 +0100 |
commit | 3945f48ca7b437e7da227aca004b7e6c069ccf7f (patch) | |
tree | f65b4d85e3cb2cbf1b147d07e361614caf51ba6d /gcc/fold-const.c | |
parent | 8dcf72a86209534445442f14b13e565e51963264 (diff) | |
download | gcc-3945f48ca7b437e7da227aca004b7e6c069ccf7f.zip gcc-3945f48ca7b437e7da227aca004b7e6c069ccf7f.tar.gz gcc-3945f48ca7b437e7da227aca004b7e6c069ccf7f.tar.bz2 |
PR c++/51143 - Alias template allows class definition
gcc/cp
PR c++/51143
* parser.c (cp_parser_alias_declaration): Don't allow type
definition in templates.
gcc/testsuite
PR c++/51143
* g++.dg/cpp0x/alias-decl-16.C: New test.
From-SVN: r181626
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions