2010-11-11 Jakub Jelinek <jakub@redhat.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / access3.adb
blobdb109b3d24fd20ca9f59a41d201259c53c5f36f3
2 package body access3 is
4 type IT_Access is not null access all IT'Class;
5 for IT_Access'Storage_Size use 0;
7 procedure Op
8 (Obj_T2 : in out T2;
9 Obj_IT : not null access IT'Class)
10 is
11 X : constant IT_Access := Obj_IT.all'Unchecked_Access;
12 begin
13 null;
14 end Op;
16 end access3;