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 }
|
-- { dg-options "-gnatN" }
|
-- { dg-options "-gnatN" }
|
|
|
with inline_scope_p;
|
with inline_scope_p;
|
procedure inline_scope (X : Integer) is
|
procedure inline_scope (X : Integer) is
|
type A is array (Integer range 1 .. 2) of Boolean;
|
type A is array (Integer range 1 .. 2) of Boolean;
|
S : A;
|
S : A;
|
pragma Warnings (Off, S);
|
pragma Warnings (Off, S);
|
procedure Report_List is
|
procedure Report_List is
|
begin
|
begin
|
inline_scope_p.Assert (S (1), Natural'Image (Natural (1)));
|
inline_scope_p.Assert (S (1), Natural'Image (Natural (1)));
|
end Report_List;
|
end Report_List;
|
begin
|
begin
|
null;
|
null;
|
end;
|
end;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.