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
runtime: copy more of scheduler from Go 1.7 runtime
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
finalized.adb
blob
36400d53ecc2f7b480a40c436a827ce0f7b2a815
1
-- { dg-do compile }
2
3
with
Ada
.
Finalization
;
use
Ada
.
Finalization
;
4
procedure
finalized
is
5
type
Rec
is new
Controlled
with null record
;
6
Obj
:
access
Rec
:=
new
Rec
'(Controlled with null record);
7
begin
8
null;
9
end;