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] - Blame information for rev 713

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

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do run }
2
 
3
with Text_IO; use Text_IO;
4
with Self; use Self;
5
procedure Test_Self is
6
   It : Lim := G (5);
7
begin
8
   Change (It, 10);
9
   if Get (It) /= 35 then
10
      Put_Line ("self-referential aggregate incorrectly built");
11
   end if;
12
end Test_Self;

powered by: WebSVN 2.1.0

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