Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / tagged5.ads
blob3047269c88d3f2bab77bef45a911a142361ac9aa
1 package Tagged5 is
3 type T is limited interface;
5 not overriding function Element
6 (Self : T;
7 Index : Positive)
8 return Integer is abstract
9 with Pre'Class => Index + Index ** 2 in 1 .. 10;
11 function First
12 (Self : T'Class)
13 return Integer
14 is (Self.Element (1));
16 procedure Dummy;
18 end Tagged5;