analyzer: Fix PR analyzer/101980
[official-gcc.git] / gcc / testsuite / gnat.dg / discr48.adb
blob677f6ec67b126c0952f3b7c98ef86abddcd5f848
1 -- { dg-do compile }
3 with Discr48_Pkg; use Discr48_Pkg;
5 function Discr48 return Rec_Access is
6 C : constant Rec := (Count => 1, Seps => (1 .. 0 => Null_XString));
7 begin
8 return new Rec'(C);
9 end;