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

Subversion Repositories openrisc

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

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 OCONST5 is
5
 
6
   procedure Check (Arg : R; Bit : U1) is
7
   begin
8
      if Arg.Bit /= Bit
9
        or else Arg.Agg.A /= 3
10
        or else Arg.Agg.B /= 7
11
      then
12
         raise Program_Error;
13
      end if;
14
   end;
15
end;

powered by: WebSVN 2.1.0

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