File: main.adb

package info (click to toggle)
gprbuild 2011-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 10,396 kB
  • sloc: ada: 94,726; sh: 2,818; xml: 2,225; makefile: 471; ansic: 240; cpp: 89; fortran: 62; asm: 27
file content (12 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
with Util;
with Ada.Text_IO; use Ada.TExt_IO;
procedure Main is
   A : aliased integer := 2;
   procedure C_Routine (x : in out Integer);
   pragma Import (C, C_Routine);

begin
   Put ("src1/");
   C_Routine (A);
   Util.Print (A);
end;