OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [atomic4.ads] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

with Ada.Containers.Vectors;
 
package Atomic4 is
 
   type String is limited null record;
   type String_Access is access all String;
   pragma Atomic (String_Access);
 
   type Reference is record
      Text : String_Access;
   end record;
 
   package Reference_Vectors is
     new Ada.Containers.Vectors (Natural, Reference);
 
   type Reader is tagged limited record
      Current_Reference : Reference;
      Reference_Stack   : Reference_Vectors.Vector;
   end record;
 
   procedure Next (Self : in out Reader'Class);
 
end Atomic4;
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.