URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* PR 21502 */
|
/* PR 21502 */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "" } */
|
/* { dg-options "" } */
|
|
|
typedef int IA[];
|
typedef int IA[];
|
typedef int IA5[5];
|
typedef int IA5[5];
|
typedef int IA10[10];
|
typedef int IA10[10];
|
typedef IA *IAP;
|
typedef IA *IAP;
|
typedef IA5 *IA5P;
|
typedef IA5 *IA5P;
|
typedef IA10 *IA10P;
|
typedef IA10 *IA10P;
|
extern IAP a[];
|
extern IAP a[];
|
void
|
void
|
f (void)
|
f (void)
|
{
|
{
|
extern IA5P a[];
|
extern IA5P a[];
|
}
|
}
|
IAP a[] = { 0 }; /* { dg-message "note: previous definition" } */
|
IAP a[] = { 0 }; /* { dg-message "note: previous definition" } */
|
extern IA10P a[]; /* { dg-error "conflicting types" } */
|
extern IA10P a[]; /* { dg-error "conflicting types" } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.