2010-04-20 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gnat.dg / oconst6.ads
blobe4c3c50eb0dfa2a0771e3aaa8c162a79f0d8ca10
1 -- { dg-do compile }
2 -- { dg-final { scan-assembler-not "elabs" } }
4 package OCONST6 is
6 type Sequence is array (1 .. 1) of Natural;
8 type Message is record
9 Data : Sequence;
10 end record;
12 for Message'Alignment use 1;
13 pragma PACK (Message);
15 ACK : Message := (Data => (others => 1));
17 end;