URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* [] does not indicate a flexible array member unless it is the field
|
/* [] does not indicate a flexible array member unless it is the field
|
itself being declared as an incomplete array type rather than a
|
itself being declared as an incomplete array type rather than a
|
pointer or other type derived from such a type. PR 36432. */
|
pointer or other type derived from such a type. PR 36432. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
|
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
|
|
|
void
|
void
|
f (void)
|
f (void)
|
{
|
{
|
int a[3];
|
int a[3];
|
int (*p)[];
|
int (*p)[];
|
struct { int (*p)[]; } s;
|
struct { int (*p)[]; } s;
|
p = &a;
|
p = &a;
|
s.p = &a;
|
s.p = &a;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.