-- { dg-excess-errors "no code generated" } generic type T is private; package Size_Attribute1_Pkg2 is procedure Proc; end Size_Attribute1_Pkg2;