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/] [addr3.adb] - Rev 304

Compare with Previous | Blame | View Log

--  { dg-do compile }
 
with text_io;
with System;
procedure addr3 is
 
  Type T_SAME_TYPE is new System.Address;
 
  Type T_OTHER_TYPE is new System.Address;
 
  I : constant integer := 0;                                                   
                                                                                  procedure dum ( i : INTEGER ) is
  begin
    text_io.put_line ("Integer op");
    null;
  end;
 
  procedure dum ( i : system.ADDRESS ) is
  begin
    null;
  end;
 
  procedure dum ( i : T_SAME_TYPE ) is
  begin
    null;
  end;
 
  procedure dum ( i : T_OTHER_TYPE ) is
  begin
    null;
  end;
 
begin
   dum( I );
   dum( 1 );
end; 
 

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.