OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [no-asm-4.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-std=gnu99 -fno-asm" } */
3
 
4
/* Verify that the GNU extensions asm and typeof are not recognized as
5
   keywords when using -fno-asm in GNU89 mode, but that inline (which
6
   is a keyword in C99 but not C89) is recognized.  */
7
 
8
int asm;        /* { dg-bogus "before .asm." } */
9
int inline;     /* { dg-warning "empty declaration" } */
10
/* { dg-error "empty declaration" "" { target *-*-* } 9 } */
11
int typeof;     /* { dg-bogus "before .typeof." } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.