URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [init_scalar1.adb] - Rev 774
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