1 // RUN: touch %t.o 2 // RUN: %clang -### -target x86_64-apple-darwin10 -fobjc-link-runtime -lfoo -mmacosx-version-min=10.7 %t.o 2>&1 | FileCheck -check-prefix=CHECK-ARCLITE-OSX %s 3 // RUN: %clang -### -target x86_64-apple-darwin10 -fobjc-link-runtime -mmacosx-version-min=10.8 %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOARCLITE %s 4 // RUN: %clang -### -target i386-apple-darwin10 -fobjc-link-runtime -mmacosx-version-min=10.7 %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOARCLITE %s 5 // RUN: %clang -### -target x86_64-apple-darwin10 -fobjc-link-runtime -nostdlib %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOSTDLIB %s 6 7 // CHECK-ARCLITE-OSX: -lfoo 8 // CHECK-ARCLITE-OSX: libarclite_macosx.a 9 // CHECK-ARCLITE-OSX: -framework 10 // CHECK-ARCLITE-OSX: Foundation 11 // CHECK-ARCLITE-OSX: -lobjc 12 // CHECK-NOARCLITE-NOT: libarclite 13 // CHECK-NOSTDLIB-NOT: -lobjc 14 15 // RUN: %clang -### -target x86_64-apple-darwin10 -fobjc-link-runtime -fobjc-arc -mmacosx-version-min=10.7 %s 2>&1 | FileCheck -check-prefix=CHECK-UNUSED %s 16 17 // CHECK-UNUSED-NOT: warning: argument unused during compilation: '-fobjc-link-runtime' 18