compiling test_60 with gnat-4.4 I get this :
gnatmake test_60.ads
gcc-4.4 -c test_60.ads
test_60.ads:6:24: expect name of generic package in instantiation
gnatmake: "test_60.ads" compilation error

here is the code I have used :
package pak1 is
   generic
   package pak2 is
   end pak2;
end pak1;

--  RM 8.3(8)
--  An inner declaration hides any outer homograph from direct visibility.
with pak1;
package Test_60 is
   package PAK1 is new pak1;
end Test_60;





-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to