Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / opt91_pkg.ads
blob9bfd0f05b3dac6b363924286f202657a897d4f0b
1 package Opt91_Pkg is
3 type Base_Relation is abstract tagged null record;
5 function Custom_Image (Self : Base_Relation) return String is abstract;
7 generic
8 type Ty is private;
9 with function Custom_Image (Self : Ty) return String is <>;
10 package Pure_Relation is
12 type Rel is new Base_Relation with record
13 Rel : Ty;
14 end record;
16 overriding function Custom_Image (Self : Rel) return String;
17 end Pure_Relation;
19 end Opt91_Pkg;