Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gnat.dg / access9.adb
blobd2028c97930420fda4adfe36d03191aa0139973e
1 -- { dg-do run }
3 procedure Access9 is
5 type A_Type is access procedure;
7 type B_Type is new A_Type;
9 procedure Invoke (B : B_Type) is
10 begin
11 B.all;
12 end;
14 procedure Nested is begin null; end;
16 A : A_Type := Nested'Access;
18 begin
19 Invoke (B_Type (A));
20 end;