-- { dg-do run } -- { dg-options "-g -flto" { target lto } } with Lto22_Pkg1; procedure Lto22 is begin null; end;