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

Subversion Repositories openrisc

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

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

-- { dg-do run }
 
with Text_IO; use Text_IO;
with Self; use Self;
procedure Test_Self is
   It : Lim := G (5);
begin   
   Change (It, 10);
   if Get (It) /= 35 then 
      Put_Line ("self-referential aggregate incorrectly built");
   end if; 
end Test_Self;
 

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.