Debian Codegraph @

clang/test/Driver/zos-ld-sidedeck.c

raw
1 // Try using various forms of output file name to see what side deck file name looks like
2 // RUN: %clang -### --shared --target=s390x-ibm-zos %s -o foo.out 2>&1 \
3 // RUN: | FileCheck --check-prefix=SD-BASE %s
4 // RUN: %clang -### --shared --target=s390x-ibm-zos %s -o foo 2>&1 \
5 // RUN: | FileCheck --check-prefix=SD-BASE %s
6 // SD-BASE: "-x" "foo.x"
7
8 // RUN: %clang -### --shared --target=s390x-ibm-zos %s -o lib/foo.out 2>&1 \
9 // RUN: | FileCheck --check-prefix=SD-SUBDIR %s
10 // RUN: %clang -### --shared --target=s390x-ibm-zos %s -o lib/foo 2>&1 \
11 // RUN: | FileCheck --check-prefix=SD-SUBDIR %s
12 // SD-SUBDIR: "-x" "lib/foo.x"
13
14
15 // RUN: %clang -### --shared --target=s390x-ibm-zos %s -o ../lib/foo.out 2>&1 \
16 // RUN: | FileCheck --check-prefix=SD-REL %s
17 // RUN: %clang -### --shared --target=s390x-ibm-zos %s -o ../lib/foo 2>&1 \
18 // RUN: | FileCheck --check-prefix=SD-REL %s
19 // SD-REL: "-x" "../lib/foo.x"