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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do compile }
2
-- { dg-final { scan-assembler-not "elabs" } }
3
 
4
package body OCONST1 is
5
 
6
  procedure check (arg : R) is
7
  begin
8
    if arg.u /= 1
9
       or else arg.b.i1 /= 2
10
       or else arg.b.i2 /= 3
11
       or else arg.b.i3 /= 4
12
    then
13
      raise Program_Error;
14
    end if;
15
  end;
16
 
17
end;
18
 

powered by: WebSVN 2.1.0

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