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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 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.