summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/lto6.adb
blob: f8cbf4dd00ab55399c95a1f4fb8f590456c5a984 (plain)
1
2
3
4
5
6
7
8
9
10
11
-- { dg-do run }
-- { dg-options "-O2 -flto" { target lto } }

with Lto6_Pkg; use Lto6_Pkg;

procedure Lto6 is
  type Enum is (A, B, C, D);
  Table : array (B .. C, 1 .. 1) of F_String := (others => (others => Null_String));
begin
  Table := (others => (others => Null_String));
end;