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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [discr28.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 compile }
2
 
3
package body Discr28 is
4
 
5
   procedure Dummy (E : Rec) is
6
   begin
7
     null;
8
   end;
9
 
10
   function F return Rec is
11
   begin
12
      return Default_Rec;
13
   end;
14
 
15
   procedure Proc1 is
16
   begin
17
      Dummy (F);
18
   end;
19
 
20
   procedure Proc2 is
21
   begin
22
      Dummy (F);
23
   end;
24
 
25
end Discr28;

powered by: WebSVN 2.1.0

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