Alex Lorenz | 25ce33a | 2019-12-16 16:46:41 -0800 | [diff] [blame] | 1 | // RUN: touch %t.o |
| 2 | |
Hans Wennborg | 5122e82 | 2020-02-27 13:48:26 +0100 | [diff] [blame] | 3 | // RUN: %clang -target arm64_32-apple-watchos5.2 -isysroot %S/Inputs/WatchOS6.0.sdk -mlinker-version=0 -### %t.o 2>&1 \ |
| 4 | // RUN: | FileCheck --check-prefix=LINKER-OLD %s |
| 5 | // RUN: %clang -target arm64_32-apple-watchos5.2 -isysroot %S/Inputs/WatchOS6.0.sdk -mlinker-version=400 -### %t.o 2>&1 \ |
| 6 | // RUN: | FileCheck --check-prefix=LINKER-OLD %s |
Alex Lorenz | be88a20 | 2019-12-17 14:24:23 -0800 | [diff] [blame] | 7 | // RUN: %clang -target arm64_32-apple-watchos5.2 -isysroot %S/Inputs/WatchOS6.0.sdk -mlinker-version=520 -### %t.o 2>&1 \ |
Hans Wennborg | 5122e82 | 2020-02-27 13:48:26 +0100 | [diff] [blame] | 8 | // RUN: | FileCheck --check-prefix=LINKER-NEW %s |
Alex Lorenz | be88a20 | 2019-12-17 14:24:23 -0800 | [diff] [blame] | 9 | // RUN: %clang -target x86_64-apple-watchos6-simulator -isysroot %S/Inputs/WatchOS6.0.sdk -mlinker-version=520 -### %t.o 2>&1 \ |
Alex Lorenz | 25ce33a | 2019-12-16 16:46:41 -0800 | [diff] [blame] | 10 | // RUN: | FileCheck --check-prefix=SIMUL %s |
| 11 | |
Hans Wennborg | 5122e82 | 2020-02-27 13:48:26 +0100 | [diff] [blame] | 12 | // LINKER-OLD: "-watchos_version_min" "5.2.0" |
| 13 | // LINKER-NEW: "-platform_version" "watchos" "5.2.0" "6.0.0" |
Alex Lorenz | 25ce33a | 2019-12-16 16:46:41 -0800 | [diff] [blame] | 14 | // SIMUL: "-platform_version" "watchos-simulator" "6.0.0" "6.0.0" |