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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [array11.adb] - Rev 801

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

-- { dg-do compile }
 
procedure Array11 is
 
  type Rec is null record;
  type Ptr is access all Rec;
 
  type Arr1 is array (1..8) of aliased Rec; -- { dg-warning "padded" }
  type Arr2 is array (Long_Integer) of aliased Rec; -- { dg-warning "padded" }
 
  A1 : Arr1;
  A2 : Arr2; -- { dg-warning "Storage_Error" }
 
begin
  null;
end;
 

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

powered by: WebSVN 2.1.0

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