Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gnat.dg / aggr16.adb
blob2f559da25f9bf4fd1dd0e0a60797581a17eb0291
1 -- { dg-do compile }
3 with Aggr16_Pkg; use Aggr16_Pkg;
5 package body Aggr16 is
7 type Arr is array (1 .. 4) of Time;
9 type Change_Type is (One, Two, Three);
11 type Change (D : Change_Type) is record
12 case D is
13 when Three =>
14 A : Arr;
15 when Others =>
16 B : Boolean;
17 end case;
18 end record;
20 procedure Proc is
21 C : Change (Three);
22 begin
23 C.A := (others => Null_Time);
24 end;
26 end Aggr16;