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
RISC-V: Add support for riscv-*-*.
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
finalized.adb
blob
a8d2f8808c676262dd592262716b6c3da4ad2a03
1
-- { dg-do compile }
2
-- { dg-options "-gnatws" }
3
4
with
Ada
.
Finalization
;
use
Ada
.
Finalization
;
5
procedure
finalized
is
6
type
Rec
is new
Controlled
with null record
;
7
Obj
:
access
Rec
:=
new
Rec
'(Controlled with null record);
8
begin
9
null;
10
end;