OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [test_ifaces.adb] - Blame information for rev 747

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.