blob: fdcf05459a431c5e9b1adcf30bd7e1931d38b2cc (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile } */
/* { dg-options "-std=gnu89" } */
/* Verify that these GNU extensions are recognized as keywords in
GNU89 mode. */
int asm; /* { dg-error "before .asm." } */
int inline; /* { dg-warning "empty declaration" } */
/* { dg-error "empty declaration" "" { target *-*-* } 8 } */
int typeof; /* { dg-error "before .typeof." } */
|