1 /* Test that asm-qualifiers are not allowed on toplevel asm.  */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu99" } */
4 
5 asm const ("");    /* { dg-error {expected '\(' before 'const'} } */
6 asm volatile (""); /* { dg-error {expected '\(' before 'volatile'} } */
7 asm restrict (""); /* { dg-error {expected '\(' before 'restrict'} } */
8 asm inline ("");   /* { dg-error {expected '\(' before 'inline'} } */
9 asm goto ("");     /* { dg-error {expected '\(' before 'goto'} } */
10