1-- { dg-do compile } 2 3with Private2_Pkg; use Private2_Pkg; 4 5package Private2 is 6 7 type R is new Rec2; 8 9end Private2; 10