summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/access_func.adb
blob: 8354e7453552b9915c305055d0402c01476c3454 (plain)
1
2
3
4
5
6
7
8
9
10
-- { dg-do compile }

procedure access_func is
    type Abomination is access
       function (X : Integer) return access
       function (Y : Float) return access
       function return Integer;
begin
    null;
end;