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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [test_address_null_init.adb] - Rev 720

Go to most recent revision | Compare with Previous | Blame | View Log

--  { dg-do run }
--  { dg-options "-gnatws" }
 
with Address_Null_Init;  use Address_Null_Init;
with Ada.Text_IO;  use Ada.Text_IO;
 
procedure Test_Address_Null_Init is
begin
   if B /= null then
      Put_Line ("ERROR: B was not default initialized to null!");
   end if;
 
   if A /= null then
      Put_Line ("ERROR: A was not reinitialized to null!");
   end if;
end Test_Address_Null_Init;
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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