URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* Invalid initializers should not receive an "is not constant"
|
/* Invalid initializers should not receive an "is not constant"
|
error. */
|
error. */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "" } */
|
/* { dg-options "" } */
|
|
|
int p = c; /* { dg-error "undeclared" } */
|
int p = c; /* { dg-error "undeclared" } */
|
struct s { int a; } x = { b }; /* { dg-error "undeclared" } */
|
struct s { int a; } x = { b }; /* { dg-error "undeclared" } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.