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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 jeremybenn
--  { dg-do compile }
2
 
3
procedure Max_Align is
4
   type Block is record
5
      X : Integer;
6
   end record;
7
   for Block'Alignment use Standard'Maximum_Alignment;
8
 
9
   type Block_Access is access Block;
10
   Ptr : Block_Access := new Block;
11
begin
12
   null;
13
end;
14
 
15
 

powered by: WebSVN 2.1.0

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