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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [invariant_index.adb] - Blame information for rev 315

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

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-O -gnatp" }
3
 
4
package body Invariant_Index is
5
 
6
   procedure Proc (S : String) is
7
      N : constant Integer := S'Length;
8
   begin
9
      Name_Buffer (1 + N .. Name_Len + N) := Name_Buffer (1 .. Name_Len);
10
      Name_Buffer (1 .. N) := S;
11
      Name_Len := Name_Len + N;
12
   end;
13
 
14
end Invariant_Index;

powered by: WebSVN 2.1.0

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