c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / gnat.dg / validity_check.adb
blob1bcc084f52c1cc5434c6f40f447ec473b77ddee0
1 -- { dg-do run }
2 -- { dg-options "-O -gnatn -gnatVa -gnatws" }
4 pragma Initialize_Scalars;
6 procedure Validity_Check is
8 type Small_Int is mod 2**6;
10 type Arr is array (1 .. 16) of Small_Int;
11 pragma Pack (Arr);
13 S : Small_Int;
14 A : Arr;
16 begin
17 null;
18 end;