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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [address_null_init.ads] - Blame information for rev 696

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 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.