summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/no-asm-3.c
blob: 9c806e43533b14a557164e4cfa2a1c0f33950891 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */

/* Verify that these GNU extensions are recognized as keywords in
   GNU99 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." } */