summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/alignment1.ads
blob: cffcba138cafa41fde237e5f41cb249a98bd5773 (plain)
1
2
3
4
5
6
7
8
9
10
11
-- { dg-do compile }

package Alignment1 is
   S : Natural := 20;
   pragma Volatile (S);

   type Block is array (1 .. S) of Integer;
   for Block'Alignment use 128;

   B : Block;
end;