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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

-- { dg-do run }
-- { dg-options "-gnatws" }
 
with Discr32_Pkg; use Discr32_Pkg;
 
procedure Discr32 is
begin
 
  if R1'Object_Size /= 32 then
    raise Program_Error;
  end if;
 
  if R2'Object_Size /= R'Object_Size then
    raise Program_Error;
  end if;
 
  if R3'Object_Size /= 64 then
    raise Program_Error;
  end if;
 
end;
 

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.