URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
void *vp;
|
void *vp;
|
int (*ap)[];
|
int (*ap)[];
|
struct S *sp;
|
struct S *sp;
|
union U *up;
|
union U *up;
|
int (*fp)();
|
int (*fp)();
|
|
|
void
|
void
|
test ()
|
test ()
|
{
|
{
|
vp++; /* { dg-error "" } incrementing void * */
|
vp++; /* { dg-error "" } incrementing void * */
|
ap++; /* { dg-error "" } incrementing ptr to incomplete type */
|
ap++; /* { dg-error "" } incrementing ptr to incomplete type */
|
sp++; /* { dg-error "" } incrementing ptr to incomplete type */
|
sp++; /* { dg-error "" } incrementing ptr to incomplete type */
|
up++; /* { dg-error "" } incrementing ptr to incomplete type */
|
up++; /* { dg-error "" } incrementing ptr to incomplete type */
|
fp++; /* { dg-error "" } incrementing ptr to function */
|
fp++; /* { dg-error "" } incrementing ptr to function */
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.