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/] [oconst5.adb] - Blame information for rev 478

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

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