aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gnat.dg/enclosing_record_reference.ads
blob: 6573b1d54341c535ea5301fee1add6b7052a154f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package Enclosing_Record_Reference is
  pragma elaborate_body;

    type T is record
        F1: access function(x: integer) return T;
        F2: access function(x: T) return integer;             --??
        F3: access function(x: T) return T;                   --??
        F4: access function(x: integer) return access T;      --??
        F5: access function(x: access T) return integer;
        F6: access function(x: access T) return access T;
        F7: access function(x: T) return access T;            --??
        F8: access function(x: access T) return T;
    end record;

end Enclosing_Record_Reference;