1-- { dg-do run } 2-- { dg-options "-gnatVa" } 3 4with Constant2_Pkg1; use Constant2_Pkg1; 5 6procedure Constant2 is 7begin 8 if Val then 9 raise Program_Error; 10 end if; 11end; 12