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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 696 jeremybenn
--  { dg-do compile }
2
package body Pak is
3
   pragma Suppress (Discriminant_Check);
4
   --  Suppress discriminant check to prevent the assignment from using
5
   --  the predefined primitive _assign.
6
 
7
   procedure Initialize (X : in out T) is begin null; end Initialize;
8
   procedure Finalize (X : in out T) is begin null; end Finalize;
9
 
10
   procedure Assign (X : out T'Class) is
11
      Y : T;
12
   begin
13
      T (X) := Y;
14
   end Assign;
15
end Pak;

powered by: WebSVN 2.1.0

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