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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 jeremybenn
--  { dg-do compile }
2
 
3
with Discr23_Pkg; use Discr23_Pkg;
4
 
5
package body Discr23 is
6
 
7
  N : constant Text := Get;
8
 
9
  function Try (A : in Text) return Text is
10
  begin
11
    return A;
12
  exception
13
    when others => return N;
14
  end;
15
 
16
  procedure Dummy is begin null; end;
17
 
18
end Discr23;

powered by: WebSVN 2.1.0

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