repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix the new pr83361.c testcase
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
specs
/
cpp_assignment.ads
blob
3247b671bd527bd912799e7be499fd266c0665da
1
-- { dg-do compile }
2
3
package
CPP_Assignment
is
4
type
T
is tagged record
5
Data
:
Integer
:=
0
;
6
end record
;
7
pragma
Convention
(
CPP
,
T
);
8
9
Obj1
:
T
:= (
Data
=>
1
);
Obj2
:
T
'Class
:=
Obj1
;
10
end
;