Debian Codegraph @

gcc/testsuite/gnat.dg/lto27.adb

raw
1 -- { dg-do link }
2 -- { dg-options "-O2 -gnatp -flto" { target lto } }
3
4 with Ada.Containers.Hashed_Maps;
5 with Ada.Strings.Hash;
6
7 procedure Lto27 is
8 subtype Node_Name is String (1 .. 4);
9
10 package Node_Maps is new Ada.Containers.Hashed_Maps
11 (Key_Type => Node_Name,
12 Element_Type => Integer,
13 Hash => Ada.Strings.Hash,
14 Equivalent_Keys => "=");
15
16 begin
17 null;
18 end;