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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [nested_float_packed.ads] - Blame information for rev 304

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

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
 
3
package Nested_Float_Packed is
4
 
5
   type Float_Type is record
6
      Value : Float;
7
      Valid : Boolean;
8
   end record;
9
 
10
   type Data_Type is record
11
      Data : Float_Type;
12
   end record;
13
 
14
   Default_Data : constant Data_Type :=
15
     (Data => (Value => 1.0, Valid => False));
16
 
17
   type Range_Type is (RV1, RV2, RV3);
18
   for Range_Type use (1, 2, 3);
19
 
20
   Data_Block : array (Range_Type)
21
     of Data_Type := (others => Default_Data);
22
end;
23
 
24
 

powered by: WebSVN 2.1.0

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