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

Subversion Repositories openrisc

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

Go to most recent revision | 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; 
 

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.