Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / discr50.adb
blobe7de16d9e7cb4363a8a0d6a660605767667fbe3f
1 -- { dg-do compile }
3 procedure Discr50 is
4 type My_Record (D : Integer) is record
5 A : Integer;
6 end record;
8 B : My_Record (Positive range 1 .. 10); -- { dg-error "a subtype indication is not a valid discriminant constraint" }
9 begin
10 null;
11 end Discr50;