2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / no-asm-1.c
blobdd9ec54a4c17f987684bc2e76c785db30eae1410
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } */
4 /* Verify that these GNU extensions are recognized as keywords in
5 GNU89 mode. */
7 int asm; /* { dg-error "before .asm." } */
8 int inline; /* { dg-warning "empty declaration" } */
9 /* { dg-error "empty declaration" "" { target *-*-* } .-1 } */
10 int typeof; /* { dg-error "before .typeof." } */