Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
gnat.dg
/
specs
/
cpp_assignment.ads
blob: 3247b671bd527bd912799e7be499fd266c0665da [
file
] [
log
] [
blame
]
--
{
dg
-
do
compile
}
package
CPP_Assignment
is
type T
is
tagged record
Data
:
Integer
:=
0
;
end
record
;
pragma
Convention
(
CPP
,
T
);
Obj1
:
T
:=
(
Data
=>
1
);
Obj2
:
T
'Class := Obj1;
end;