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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [aggr2.ads] - Blame information for rev 696

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do compile }
2
 
3
package Aggr2 is
4
 
5
   type Buffer is array (Positive range <>) of Boolean;
6
   for Buffer'Alignment use 4;
7
 
8
   type Buffer_Ptr is access Buffer;
9
 
10
   subtype My_Buffer is Buffer (1 .. 2);
11
 
12
   P : Buffer_Ptr := new My_Buffer'(Others => False);
13
 
14
end Aggr2;

powered by: WebSVN 2.1.0

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