URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 338 |
-- { dg-do compile }
|
-- { dg-do compile }
|
|
|
procedure aggr8 is
|
procedure aggr8 is
|
|
|
type Byte is mod 2 ** 8;
|
type Byte is mod 2 ** 8;
|
subtype two is integer range 1..2;
|
subtype two is integer range 1..2;
|
-- type Sequence is array (1 .. 2) of Byte;
|
-- type Sequence is array (1 .. 2) of Byte;
|
type Sequence is array (Two) of Byte;
|
type Sequence is array (Two) of Byte;
|
|
|
type Block is record
|
type Block is record
|
Head : Sequence := (11, 22);
|
Head : Sequence := (11, 22);
|
end record;
|
end record;
|
|
|
procedure Nest is
|
procedure Nest is
|
Blk : Block; pragma Unreferenced (Blk);
|
Blk : Block; pragma Unreferenced (Blk);
|
begin
|
begin
|
null;
|
null;
|
end;
|
end;
|
|
|
begin
|
begin
|
null;
|
null;
|
end;
|
end;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.