Preserving locations for variable-uses and constants (PR c++/43486)
[official-gcc.git] / gcc / testsuite / gnat.dg / aggr12.ads
blob32084176e789cedecd431426411ca2dc55f0c992
1 package Aggr12 is
3 type Hair_Color_Type is (Black, Brown, Blonde, Grey, White, Red);
5 type Rec is record
6 I1, I2 : Hair_Color_Type;
7 end record;
9 A : constant Rec := (Black, Blonde);
11 procedure Print (Data : String);
13 procedure Test;
15 end Aggr12;