aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/lto17.adb
blob: 504fb877a645515851180a04030a3fdbe1fae9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
-- { dg-do compile }
-- { dg-options "-flto" { target lto } }

package body Lto17 is

   function To_Chunk_List(C : Chunk) return Chunk_List is
   begin
      return new Chunk_List_Element'(C.Size, C, null);
   end;

end Lto17;