20 lines · c
1// Try using various forms of output file name to see what side deck file name looks like2// RUN: %clang -### --shared --target=s390x-ibm-zos %s -o foo.out 2>&1 \3// RUN: | FileCheck --check-prefix=SD-BASE %s4// RUN: %clang -### --shared --target=s390x-ibm-zos %s -o foo 2>&1 \5// RUN: | FileCheck --check-prefix=SD-BASE %s6// 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 %s10// RUN: %clang -### --shared --target=s390x-ibm-zos %s -o lib/foo 2>&1 \11// RUN: | FileCheck --check-prefix=SD-SUBDIR %s12// 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 %s17// RUN: %clang -### --shared --target=s390x-ibm-zos %s -o ../lib/foo 2>&1 \18// RUN: | FileCheck --check-prefix=SD-REL %s19// SD-REL: "-x" "../lib/foo.x"20