summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/self_class.ads
blob: 56c7ab4760c91089e264baff32ddc0293cc1302c (plain)
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;