Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gnat.dg / incomplete7.ads
blob3c1ade711797c5081800c1d6cc1b4196ec10ff57
1 package Incomplete7 is
2 type Color;
3 type Color is (red, green, blue);
5 type Action (C : Color := Color'(red));
6 type Action (C : Color := Color'(red)) is record
7 case C is
8 when red =>
9 Stop_Time : Positive;
11 when others =>
12 Go_For_It : Integer;
13 end case;
14 end record;
16 type Num;
17 type Num is new Integer;
19 type Rec (N : Num := Num'(1));
20 type Rec (N : Num := Num'(1)) is record
21 case N is
22 when 1 =>
23 One : Integer;
25 when others =>
26 null;
27 end case;
28 end record;
30 procedure Foo;
31 end Incomplete7;