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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [atomic4.ads] - Blame information for rev 801

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

Line No. Rev Author Line
1 696 jeremybenn
with Ada.Containers.Vectors;
2
 
3
package Atomic4 is
4
 
5
   type String is limited null record;
6
   type String_Access is access all String;
7
   pragma Atomic (String_Access);
8
 
9
   type Reference is record
10
      Text : String_Access;
11
   end record;
12
 
13
   package Reference_Vectors is
14
     new Ada.Containers.Vectors (Natural, Reference);
15
 
16
   type Reader is tagged limited record
17
      Current_Reference : Reference;
18
      Reference_Stack   : Reference_Vectors.Vector;
19
   end record;
20
 
21
   procedure Next (Self : in out Reader'Class);
22
 
23
end Atomic4;

powered by: WebSVN 2.1.0

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