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] - Rev 318

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

--  { dg-do compile }
package body Pak is
   pragma Suppress (Discriminant_Check);
   --  Suppress discriminant check to prevent the assignment from using
   --  the predefined primitive _assign.
 
   procedure Initialize (X : in out T) is begin null; end Initialize;
   procedure Finalize (X : in out T) is begin null; end Finalize;
 
   procedure Assign (X : out T'Class) is
      Y : T;
   begin
      T (X) := Y;
   end Assign;
end Pak;
 

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.