File: basic-compile

package info (click to toggle)
gnat 14.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 44 kB
  • sloc: sh: 32; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 175 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -C -e -u
cd "$AUTOPKGTEST_TMP"

cat > p.adb <<EOF
with Ada.Text_IO;
procedure P is
begin
   Ada.Text_IO.Put_Line ("Hello");
end P;
EOF
gnatmake -eS -v p.adb
./p