blob: cb81495a9b1f3fbfd3f0ac52a3db3ea838b04ca8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-- { dg-do run }
-- { dg-options "-flto" { target lto } }
with Lto7_Pkg; use Lto7_Pkg;
procedure Lto7 is
view2 : access Iface_2'Class;
obj : aliased DT := (m_name => "Abdu");
begin
view2 := Iface_2'Class(obj)'Access;
view2.all.op2;
end;
|