URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* Test for nested initialization of a compound literal: must not be
|
/* Test for nested initialization of a compound literal: must not be
|
checked against outer array bounds. Bug 19435. */
|
checked against outer array bounds. Bug 19435. */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
|
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
|
|
|
struct s { char *p; };
|
struct s { char *p; };
|
struct s a[1] = { { .p = ((char []){ 1, 2 }) } };
|
struct s a[1] = { { .p = ((char []){ 1, 2 }) } };
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.