with Ada.Text_IO; use Ada.Text_IO; with test; procedure Main is -- Declare a pointer type, pointing to a function that takes -- two Integer variables as input and returns a Integer X : Integer := 7; Y : Integer := test.DoIt (X, test.Test1'Access); Z : Integer := test.DoIt (X, test.Test2'Access); begin Put_Line (X'Img & " " & Y'Img & " " & Z'Img); end Main;