OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [address_null_init.ads] - Blame information for rev 304

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
package Address_Null_Init is
2
 
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;
7
 
8
end Address_Null_Init;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.