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/] [expect1.adb] - Blame information for rev 378

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

Line No. Rev Author Line
1 304 jeremybenn
--  { dg-do run }
2
 
3
with GNAT.Expect; use GNAT.Expect;
4
with Ada.Text_IO; use Ada.Text_IO;
5
procedure expect1 is
6
   Process : Process_Descriptor;
7
begin
8
   begin
9
      Close (Process);
10
      raise Program_Error;
11
   exception
12
      when Invalid_Process =>
13
         null;  -- expected
14
   end;
15
end expect1;

powered by: WebSVN 2.1.0

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