1 2 3 4 5 6 7 8 9
-- { dg-do compile } package Self_Class is type P6 is private; private type P6 is tagged record Self : access P6'Class; end record; end Self_Class;