1 2 3 4 5 6 7 8 9 10 11 12
package Generic_Inst9_Pkg1 is type T is (None, Smaller, Equal, Larger); type R is record Val : Integer; end record; function Compare (Left, Right : R) return T; end;