* gcc.dg/const-elim-1.c: Remove xfail for xtensa-*-*.
[official-gcc.git] / gcc / testsuite / gcc.dg / asm-qual-1.c
blob9c931d40753143f7c6f613bd3510b1789f45d60e
1 /* Test that qualifiers other than volatile are ignored on asm. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu99" } */
6 void
7 f (void)
9 asm volatile ("");
10 asm const (""); /* { dg-warning "warning: const qualifier ignored on asm" } */
11 asm restrict (""); /* { dg-warning "warning: restrict qualifier ignored on asm" } */