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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 696 jeremybenn
--  { dg-do compile }
2
 
3
procedure aggr8 is
4
 
5
   type Byte is mod 2 ** 8;
6
   subtype two is integer range 1..2;
7
   -- type Sequence is array (1 .. 2) of Byte;
8
   type Sequence is array (Two) of Byte;
9
 
10
   type Block is record
11
      Head : Sequence  := (11, 22);
12
   end record;
13
 
14
   procedure Nest is
15
      Blk : Block;  pragma Unreferenced (Blk);
16
   begin
17
      null;
18
   end;
19
 
20
begin
21
   null;
22
end;

powered by: WebSVN 2.1.0

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