2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / lto12_pkg.ads
blob02ee491b5db3f39656c3b241d27f4819a81f531b
1 -- { dg-excess-errors "cannot generate code" }
3 package Lto12_Pkg is
5 type R (Kind : Boolean := False) is record
6 case Kind is
7 when True => I : Integer;
8 when others => null;
9 end case;
10 end record;
12 function F return R;
14 end Lto12_Pkg;