[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247018: [gnat-4.4]bug fixed in 4.4.1-1 ?



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;





Reply to: