1-- { dg-do compile }
2-- { dg-options "-flto" { target lto } }
3
4with Lto12_Pkg; use Lto12_Pkg;
5
6package Lto12 is
7
8  C : constant R := F;
9
10end Lto12;
11