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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [opt22.adb] - Blame information for rev 774

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

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do run }
2
-- { dg-options "-O" }
3
 
4
with Opt22_Pkg; use Opt22_Pkg;
5
 
6
procedure Opt22 is
7
 
8
   procedure Go (S : String) is
9
   begin
10
      begin
11
        Fail;
12
      exception
13
        when Constraint_Error => Put ("the " & S);
14
      end;
15
      Put ("the " & S);
16
   end;
17
 
18
begin
19
   Go ("message");
20
end;

powered by: WebSVN 2.1.0

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