Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / gnat.dg / discr8.ads
blob80dd2f652ce34f57dc6d1119741aacbeb216b38c
1 with Discr8_Pkg1; use Discr8_Pkg1;
3 package Discr8 is
5 type Tag_T is (Tag_One, Tag_Two);
7 type Local_T (Tag : Tag_T := Tag_One) is
8 record
9 case Tag is
10 when Tag_One =>
11 A : T;
12 B : Integer;
13 when Tag_Two =>
14 null;
15 end case;
16 end record;
18 procedure Make (C : out Local_T);
20 end Discr8;