OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [pack6.ads] - Blame information for rev 378

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

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
 
3
with Ada.Finalization;
4
with Pack6_Pkg;
5
 
6
package Pack6 is
7
 
8
  package Eight_Bits is new Pack6_Pkg (8);
9
 
10
  type Some_Data is record
11
    Byte_1 : Eight_Bits.Object;
12
    Byte_2 : Eight_Bits.Object;
13
  end record;
14
 
15
  for Some_Data use record
16
    Byte_1 at 0 range 0 .. 7;
17
    Byte_2 at 1 range 0 .. 7;
18
  end record;
19
 
20
  type Top_Object is new Ada.Finalization.Controlled with record
21
    Data : Some_Data;
22
  end record;
23
 
24
end Pack6;

powered by: WebSVN 2.1.0

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