summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/parent_ltd_with-child_full_view.adb
blob: cd8cf4240d429e9563b357140fc4136927bfeed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--  { dg-do compile }

package body Parent_Ltd_With.Child_Full_View is
   
   function New_Child_Symbol return Child_Symbol_Access is
      Sym : constant Child_Symbol_Access := new Child_Symbol'(Comp => 10);
   
   begin
      return Sym;
   end New_Child_Symbol;

end Parent_Ltd_With.Child_Full_View;