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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [pak.adb] - Blame information for rev 324

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

Line No. Rev Author Line
1 304 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.