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.2.2/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [unchecked_union.ads] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
-- PR ada/28591
2
-- Reported by Martin Michlmayr <tbm@cyrius.com>
3
 
4
-- { dg-do compile }
5
-- { dg-options "-g" }
6
 
7
with Interfaces; use Interfaces;
8
 
9
package Unchecked_Union is
10
   type Mode_Type is (Mode_B2);
11
 
12
   type Value_Union (Mode : Mode_Type := Mode_B2) is record
13
      case Mode is
14
         when Mode_B2 =>
15
            B2 : Integer_32;
16
      end case;
17
   end record;
18
   pragma Unchecked_Union (Value_Union);
19
 
20
end Unchecked_Union;

powered by: WebSVN 2.1.0

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