Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/no-asm-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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 *-*-* } .-1 } */ | |
10 int typeof; /* { dg-error "before .typeof." } */ |