Debian Codegraph @

debian/tests/link-with-shared

raw
1 #!/bin/sh
2 set -C -e -f -u
3
4 cd "$AUTOPKGTEST_TMP"
5
6 cat > p.gpr <<EOF
7 with "xmlezout.gpr";
8 project P is
9 for Main use ("m.adb");
10 end P;
11 EOF
12 cat > m.adb <<EOF
13 with McKae.XML.EZ_Out; use McKae.XML.EZ_Out;
14 with Ada.Text_IO; use Ada.Text_IO;
15 procedure M is
16 begin
17 Put_Line (Formatting_Options'Image (Continuous_Stream));
18 end M;
19 EOF
20
21 gprbuild -v p.gpr
22
23 ./m