Debian Codegraph @

debian/tests/link-with-shared

raw
1 #!/bin/sh
2 set -C -e -f -u
3 cd "$AUTOPKGTEST_TMP"
4
5 cat > p.gpr <<EOF
6 with "dbusada";
7 project P is
8 for Main use ("p.adb");
9 end P;
10 EOF
11 cat > p.adb <<EOF
12 with D_Bus;
13 procedure P is
14 Bus : constant D_Bus.Bus_Type := D_Bus.Bus_Session;
15 begin
16 null;
17 end P;
18 EOF
19 gprbuild -v p.gpr
20 ./p