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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [asynch.adb] - Rev 696

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;
 

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.