URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Data definition with no type or storage class should receive a
|
/* Data definition with no type or storage class should receive a
|
pedwarn, rather than a warning which becomes an error with
|
pedwarn, rather than a warning which becomes an error with
|
-pedantic. Test with -pedantic-errors. */
|
-pedantic. Test with -pedantic-errors. */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-pedantic-errors" } */
|
/* { dg-options "-pedantic-errors" } */
|
|
|
foo(); /* { dg-error "error: data definition has no type or storage class" } */
|
foo(); /* { dg-error "error: data definition has no type or storage class" } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.