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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
--  { dg-do run }
2
--  { dg-options "-O2" }
3
with Ada.Text_Io; use Ada.Text_IO;
4
with Raise_From_Pure; use Raise_From_Pure;
5
procedure handle_raise_from_pure is
6
   K : Integer;
7
begin
8
   K := Raise_CE_If_0 (0);
9
exception
10
   when others => Put_Line ("exception caught");
11
end;

powered by: WebSVN 2.1.0

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