------- Comment #6 from mmitchel at gcc dot gnu dot org 2006-05-31 02:56 ------- Subject: Bug 26068
Author: mmitchel Date: Wed May 31 02:55:52 2006 New Revision: 114261 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114261 Log: PR c++/26068 * parser.c (cp_parser_set_storage_class): Check for invalid uses of storage classes on unbraced linkage specifications. (cp_parser_decl_specifier_seq): Pass keywords, not storage classes, to cp_parser_set_storage_class. PR c++/26068 * g++.dg/opt/pr17697-3.C: Remove invalid extern specifier. * g++.dg/parse/linkage1.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/linkage1.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/parser.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/pr17697-3.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26068