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/] [asynch.adb] - Rev 399

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

--  { dg-do compile }
 
package body asynch is
   function null_ctrl return t_ctrl is
   begin
      return (Ada.Finalization.Controlled with stuff => 0);
   end null_ctrl;
 
   procedure Proc (msg : String; c : t_ctrl := null_ctrl) is
   begin
      null;
   end Proc;
 
   task type tsk;
   task body tsk is
   begin
      select                                                    
         delay 10.0;                                            
         Proc ("A message.");
      then abort
         null;
      end select;
   end tsk;
end asynch;
 

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.