OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ext/] [array1.C] - Diff between revs 305 and 338

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 "" }
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.