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

Subversion Repositories openrisc

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

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

-- { dg-do compile }
-- { dg-options "-gnatN" }
 
with inline_scope_p;
procedure inline_scope (X : Integer) is
   type A is array (Integer range 1 .. 2) of Boolean;
   S : A;  
   pragma Warnings (Off, S);
   procedure Report_List  is
   begin   
      inline_scope_p.Assert (S (1), Natural'Image (Natural (1)));
   end Report_List;
begin   
   null;   
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.