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 }
|
// { dg-options "" }
|
// { dg-options "" }
|
// Testcase for assignment of non-array to array (assigns the same value to
|
// Testcase for assignment of non-array to array (assigns the same value to
|
// each member)
|
// each member)
|
// Special Options:
|
// Special Options:
|
|
|
typedef struct {} ct2d_rigid, ct2d_rigid_a[1];
|
typedef struct {} ct2d_rigid, ct2d_rigid_a[1];
|
class ccInspection
|
class ccInspection
|
{
|
{
|
protected:
|
protected:
|
ct2d_rigid_a _dev2phys;
|
ct2d_rigid_a _dev2phys;
|
};
|
};
|
class ccBgaInspection : public ccInspection
|
class ccBgaInspection : public ccInspection
|
{
|
{
|
public:
|
public:
|
void reinspect (unsigned long diagFlags);
|
void reinspect (unsigned long diagFlags);
|
};
|
};
|
void
|
void
|
ccBgaInspection::reinspect (unsigned long diag_flags)
|
ccBgaInspection::reinspect (unsigned long diag_flags)
|
{
|
{
|
ct2d_rigid physTdev;
|
ct2d_rigid physTdev;
|
_dev2phys = physTdev; // { dg-error "" }
|
_dev2phys = physTdev; // { dg-error "" }
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.