Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / cpp_assignment.ads
blob3247b671bd527bd912799e7be499fd266c0665da
1 -- { dg-do compile }
3 package CPP_Assignment is
4 type T is tagged record
5 Data : Integer := 0;
6 end record;
7 pragma Convention (CPP, T);
9 Obj1 : T := (Data => 1); Obj2 : T'Class := Obj1;
10 end;