URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* Test bad warning for anonymous int in structure. Bug 17189. */
|
/* Test bad warning for anonymous int in structure. Bug 17189. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=c99 -pedantic-errors" } */
|
/* { dg-options "-std=c99 -pedantic-errors" } */
|
|
|
struct Foo { int; }; /* { dg-bogus "unnamed" } */
|
struct Foo { int; }; /* { dg-bogus "unnamed" } */
|
/* { dg-error "error: declaration does not declare anything" "int;" { target *-*-* } 5 } */
|
/* { dg-error "error: declaration does not declare anything" "int;" { target *-*-* } 5 } */
|
/* { dg-error "error: struct has no members" "no members" { target *-*-* } 5 } */
|
/* { dg-error "error: struct has no members" "no members" { target *-*-* } 5 } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.