2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / gnat.dg / address_null_init.ads
blob58c1c314bcd88af2b695de3c01daf1ec61f91a24
1 package Address_Null_Init is
3 type Acc is access Integer;
4 A : Acc := new Integer'(123);
5 B : Acc; -- Variable must be set to null (and A overwritten by null)
6 for B'Address use A'Address;
8 end Address_Null_Init;