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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do run }
2
 
3
with System.Storage_Elements; use System.Storage_Elements;
4
with Oalign1, Oalign2; use Oalign1, Oalign2;
5
 
6
procedure Test_Oalign is
7
begin
8
   if Klunk1'Address mod Klunk1'Alignment /= 0 then
9
      raise Program_Error;
10
   end if;
11
   if Klunk2'Address mod Klunk2'Alignment /= 0 then
12
      raise Program_Error;
13
   end if;
14
end;

powered by: WebSVN 2.1.0

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