1 2 3 4 5 6 7 8 9
-- { dg-do compile } with Discr34_Pkg; use Discr34_Pkg; procedure Discr34 is Object : Rec := F; begin null; end;