blob: 5fca1371ed65139c06469b1d3b41d8b49107d80f (
plain)
1
2
3
4
5
6
7
8
9
10
|
-- { dg-do run }
with Ifaces; use Ifaces;
procedure test_ifaces is
view2 : access Iface_2'Class;
obj : aliased DT := (m_name => "Abdu");
begin
view2 := Iface_2'Class(obj)'Access;
view2.all.op2;
end;
|