aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/equal4_smart_pointers.ads
blob: c5e03f58ee9fdd5a4b8695a4eba840f25783ee0a (plain)
1
2
3
4
5
6
7
8
9
10
11
with Ada.Finalization;

generic
package Equal4_Smart_Pointers is
   type Pointer is private;

private
   type Pointer is new Ada.Finalization.Controlled with record
      Data : Integer;
   end record;
end Equal4_Smart_Pointers;