1-- { dg-do compile } 2-- { dg-options "-gnatws" } 3-- { dg-options "-gnatws -flto" { target lto } } 4 5with Lto3_Pkg1; 6 7package Lto3 is 8 9 package P is new Lto3_Pkg1 (Id_T => Natural); 10 11end Lto3; 12