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/] [init_scalar1.adb] - Rev 308

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

--  { dg-do run }
--  { dg-options "-gnatws -gnatVa" }
 
pragma Initialize_Scalars;
procedure init_scalar1 is
  type Fixed_3T is delta 2.0 ** (- 4)
      range - 2.0 ** 19 ..  (2.0 ** 19 - 2.0 ** (- 4));
  for Fixed_3T'Size use 3*8;
 
  Write_Value : constant Fixed_3T := Fixed_3T(524287.875);
  type singleton is array (1 .. 1) of Fixed_3T;
  pragma Pack (singleton);
  it : Singleton;
begin
   null;
end;
 

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

powered by: WebSVN 2.1.0

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