https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585
--- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Mar 7 08:32:09 2019 New Revision: 269452 URL: https://gcc.gnu.org/viewcvs?rev=269452&root=gcc&view=rev Log: PR c++/89585 * parser.c (cp_parser_asm_definition): Parse asm qualifiers even at toplevel, but diagnose them. * g++.dg/asm-qual-3.C: Adjust expected diagnostics. Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/parser.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/testsuite/g++.dg/asm-qual-3.C