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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [discr_range_check.adb] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-gnatws" }
3
 
4
procedure discr_range_check is
5
   Default_First_Entry : constant := 1;
6
 
7
   task type Server_T (First_Entry : Positive := Default_First_Entry) is
8
      entry E (First_Entry .. First_Entry);
9
   end Server_T;
10
 
11
   task body Server_T is begin null; end;
12
 
13
   type Server_Access is access Server_T;
14
   Server : Server_Access;
15
 
16
begin
17
   Server := new Server_T;
18
end;

powered by: WebSVN 2.1.0

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