Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gnat.dg
/
address_null_init.ads
blob: 58c1c314bcd88af2b695de3c01daf1ec61f91a24 [
file
] [
log
] [
blame
]
package
Address_Null_Init
is
type
Acc
is
access
Integer
;
A
:
Acc
:=
new
Integer
'(123);
B : Acc; -- Variable must be set to null (and A overwritten by null)
for B'
Address
use
A
'Address;
end Address_Null_Init;