Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.ext / array1.C
bloba297c73b8b824cdcef90dda436af67022ec6da75
1 // { dg-do assemble  }
2 // { dg-options "" }
3 // Testcase for assignment of non-array to array (assigns the same value to
4 // each member)
5 // Special Options: 
7 typedef struct {} ct2d_rigid, ct2d_rigid_a[1];
8 class ccInspection
10 protected:
11   ct2d_rigid_a _dev2phys;        
13 class ccBgaInspection : public ccInspection
15 public:
16   void reinspect (unsigned long diagFlags);
18 void
19 ccBgaInspection::reinspect (unsigned long diag_flags) 
21   ct2d_rigid physTdev;           
22   _dev2phys = physTdev; // { dg-error "" }