libstdc++: Define __glibcxx_assert_fail for non-verbose build [PR115585]
[official-gcc.git] / gcc / testsuite / gcc.dg / asm-qual-1.c
blob7e216877637a2b0005a94b678217491fdc64af92
1 /* Test that qualifiers other than volatile are disallowed 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 ("");
11 asm const (""); /* { dg-error {'const' is not a valid 'asm' qualifier} } */
13 asm restrict (""); /* { dg-error {'restrict' is not a valid 'asm' qualifier} } */