URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 338 |
-- { dg-do compile }
|
-- { dg-do compile }
|
|
|
procedure Self1 is
|
procedure Self1 is
|
type Event;
|
type Event;
|
|
|
type Link (E : access Event) is limited record
|
type Link (E : access Event) is limited record
|
Val : Integer;
|
Val : Integer;
|
end record;
|
end record;
|
|
|
type Ptr is access all Event;
|
type Ptr is access all Event;
|
|
|
type Event is tagged limited record
|
type Event is tagged limited record
|
Inner : Link (Event'access);
|
Inner : Link (Event'access);
|
Size : Integer;
|
Size : Integer;
|
end record;
|
end record;
|
|
|
Obj2 : Ptr := new Event'(Inner => (Event'access, 15),
|
Obj2 : Ptr := new Event'(Inner => (Event'access, 15),
|
Size => Link'size);
|
Size => Link'size);
|
begin
|
begin
|
null;
|
null;
|
end;
|
end;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.