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

Subversion Repositories openrisc

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

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

-- { dg-do compile }
-- { dg-options "-gnatws" }
 
procedure discr_range_check is
   Default_First_Entry : constant := 1;
 
   task type Server_T (First_Entry : Positive := Default_First_Entry) is
      entry E (First_Entry .. First_Entry);
   end Server_T;
 
   task body Server_T is begin null; end;
 
   type Server_Access is access Server_T;
   Server : Server_Access;
 
begin   
   Server := new Server_T;
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.