Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / discr_range_check.adb
blob4a4ae6886139de7562645e09d182280223262212
1 -- { dg-do compile }
2 -- { dg-options "-gnatws" }
4 procedure discr_range_check is
5 Default_First_Entry : constant := 1;
7 task type Server_T (First_Entry : Positive := Default_First_Entry) is
8 entry E (First_Entry .. First_Entry);
9 end Server_T;
11 task body Server_T is begin null; end;
13 type Server_Access is access Server_T;
14 Server : Server_Access;
16 begin
17 Server := new Server_T;
18 end;