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
* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
class_wide2.adb
blob
9df54bf9071b11edf057b6c0f39d48a6472f7080
1
-- { dg-do compile }
2
3
package body
Class_Wide2
is
4
5
procedure
Initialize
is
6
Var_Acc
:
Class_Acc
:=
new
Grand_Child
;
7
Var
:
Grand_Child
'Class
:=
Grand_Child
'Class
(
Var_Acc
.
all
);
8
9
begin
10
Var
:=
Grand_Child
'Class
(
Var_Acc
.
all
);
11
end
Initialize
;
12
13
end
Class_Wide2
;