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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [940510-1.c] - Diff between revs 298 and 338

Only display areas with differences | Details | Blame | View Log

Rev 298 Rev 338
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-std=c89 -pedantic" } */
/* { dg-options "-std=c89 -pedantic" } */
struct { int a[]; } x = { 0 };   /* { dg-warning "ISO C90 does not support flexible array members" } */
struct { int a[]; } x = { 0 };   /* { dg-warning "ISO C90 does not support flexible array members" } */
/* { dg-error "flexible array member in otherwise empty struct"  "" { target *-*-* }  3 } */
/* { dg-error "flexible array member in otherwise empty struct"  "" { target *-*-* }  3 } */
 
 
 
 

powered by: WebSVN 2.1.0

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