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/] [test_address_null_init.adb] - Blame information for rev 304

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
--  { dg-do run }
2
--  { dg-options "-gnatws" }
3
 
4
with Address_Null_Init;  use Address_Null_Init;
5
with Ada.Text_IO;  use Ada.Text_IO;
6
 
7
procedure Test_Address_Null_Init is
8
begin
9
   if B /= null then
10
      Put_Line ("ERROR: B was not default initialized to null!");
11
   end if;
12
 
13
   if A /= null then
14
      Put_Line ("ERROR: A was not reinitialized to null!");
15
   end if;
16
end Test_Address_Null_Init;

powered by: WebSVN 2.1.0

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