2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / access3.ads
blobf7fbf7e1e7466e0416aa9d12d11b53886f39ea6f
1 -- { dg-do compile }
3 package access3 is
4 type TF is access function return access procedure (P1 : Integer);
6 type TAF is access protected function return access procedure (P1 : Integer);
8 type TAF2 is access
9 function return access protected procedure (P1 : Integer);
11 type TAF3 is access
12 protected function return access protected procedure (P1 : Integer);
14 type TAF_Inf is
15 access protected function return
16 access function return
17 access function return
18 access function return
19 access function return
20 access function return
21 access function return
22 access function return
23 access function return
24 Integer;
25 end access3;