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/] [specs/] [static_initializer.ads] - Blame information for rev 315

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 static_initializer is
4
 
5
  type Vector is array (1 .. 3) of Float;
6
  type Arr is array (Integer range 1 .. 3) of Vector;
7
 
8
  Pos : constant Arr := ((0.0, 1.0, 2.0),
9
                         (0.5, 1.5, 2.5),
10
                         (1.0, 2.0, 4.0));
11
 
12
end;
13
 
14
-- { dg-final { scan-assembler-not "elabs" } }

powered by: WebSVN 2.1.0

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