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

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

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