OSDN Git Service

libcpp:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / no-asm-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89" } */
3
4 /* Verify that these GNU extensions are recognized as keywords in
5    GNU89 mode.  */
6
7 int asm;        /* { dg-error "before .asm." } */
8 int inline;     /* { dg-warning "empty declaration" } */
9 /* { dg-error "empty declaration" "" { target *-*-* } 8 } */
10 int typeof;     /* { dg-error "before .typeof." } */