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.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[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;