1 // RUN: %clang -no-canonical-prefixes -target x86_64-unknown-ananas -static %s \ 2 // RUN: --sysroot=%S/Inputs/ananas-tree -### 2>&1 \ 3 // RUN: | FileCheck --check-prefix=CHECK-STATIC %s 4 // CHECK-STATIC: ld{{.*}}" "-Bstatic" 5 // CHECK-STATIC: crt0.o 6 // CHECK-STATIC: crti.o 7 // CHECK-STATIC: crtbegin.o 8 // CHECK-STATIC: crtend.o 9 // CHECK-STATIC: crtn.o 10 11 // RUN: %clang -no-canonical-prefixes -target x86_64-unknown-ananas -shared %s \ 12 // RUN: --sysroot=%S/Inputs/ananas-tree -### 2>&1 \ 13 // RUN: | FileCheck --check-prefix=CHECK-SHARED %s 14 // CHECK-SHARED: crti.o 15 // CHECK-SHARED: crtbeginS.o 16 // CHECK-SHARED: crtendS.o 17 // CHECK-SHARED: crtn.o 18