1 // RUN: touch %t.o 2 3 // RUN: %clang -target arm64-apple-ios12.3 -fuse-ld= \ 4 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=0 \ 5 // RUN: -### %t.o 2>&1 \ 6 // RUN: | FileCheck --check-prefix=LINKER-OLD %s 7 // RUN: %clang -target arm64-apple-ios12.3 -fuse-ld= \ 8 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=400 \ 9 // RUN: -### %t.o 2>&1 \ 10 // RUN: | FileCheck --check-prefix=LINKER-OLD %s 11 // RUN: %clang -target arm64-apple-ios12.3 -fuse-ld= \ 12 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 \ 13 // RUN: -### %t.o 2>&1 \ 14 // RUN: | FileCheck --check-prefix=LINKER-NEW %s 15 // RUN: %clang -target arm64-apple-ios12.3 -fuse-ld=lld.darwinnew \ 16 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=0 \ 17 // RUN: -### %t.o -B%S/Inputs/lld 2>&1 \ 18 // RUN: | FileCheck --check-prefix=LINKER-NEW %s 19 // RUN: %clang -target x86_64-apple-ios13-simulator -fuse-ld= \ 20 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=520 \ 21 // RUN: -### %t.o 2>&1 \ 22 // RUN: | FileCheck --check-prefix=SIMUL %s 23 // RUN: %clang -target x86_64-apple-ios13-simulator -fuse-ld=lld.darwinnew \ 24 // RUN: -isysroot %S/Inputs/iPhoneOS13.0.sdk -mlinker-version=0 \ 25 // RUN: -### %t.o -B%S/Inputs/lld 2>&1 \ 26 // RUN: | FileCheck --check-prefix=SIMUL %s 27 28 // LINKER-OLD: "-iphoneos_version_min" "12.3.0" 29 // LINKER-NEW: "-platform_version" "ios" "12.3.0" "13.0" 30 // SIMUL: "-platform_version" "ios-simulator" "13.0.0" "13.0" 31