OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [asynch.adb] - Diff between revs 304 and 338

Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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