Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/discr43.adb @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
-- { dg-do compile } with Text_IO; use Text_IO; procedure Discr43 is type Arr is array (Short_Integer range <>) of Boolean; type Rec (LB : Short_Integer; UB : Short_Integer) is record A : Arr (LB .. UB); end record; begin Put_Line ("Arr'Max_Size =" & Arr'Max_Size_In_Storage_Elements'Img); Put_Line ("Rec'Max_Size =" & Rec'Max_Size_In_Storage_Elements'Img); end;