Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/oconst2.ads @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
package OCONST2 is type u8 is mod 2**8; type Base is record i1 : Integer; end Record; type R is record u : u8; b : Base; end record; for R use record u at 0 range 0 .. 7; b at 1 range 0 .. 31; -- aligned SImode bitfield end record; My_R : constant R := (u=>1, b=>(i1=>2)); procedure check (arg : R); end;