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/] [loop_boolean.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
-- { dg-options "-gnatVaM" }
3
 
4
procedure Loop_Boolean is
5
 
6
  type R is record
7
    B : Boolean;
8
  end record;
9
 
10
  procedure proc (X : R) is
11
    B : Boolean;
12
  begin
13
    B := X.B;
14
  end;
15
 
16
begin
17
  for I in reverse Boolean loop
18
    Proc ((B => I));
19
  end loop;
20
end;

powered by: WebSVN 2.1.0

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