Alex Lorenz | 25ce33a | 2019-12-16 16:46:41 -0800 | [diff] [blame] | 1 | // RUN: touch %t.o |
| 2 | |
Alex Lorenz | be88a20 | 2019-12-17 14:24:23 -0800 | [diff] [blame^] | 3 | // RUN: %clang -target x86_64-apple-macos10.13 -isysroot %S/Inputs/MacOSX10.14.sdk -mlinker-version=0 -### %t.o 2>&1 \ |
Alex Lorenz | 25ce33a | 2019-12-16 16:46:41 -0800 | [diff] [blame] | 4 | // RUN: | FileCheck %s |
| 5 | // RUN: env SDKROOT=%S/Inputs/MacOSX10.14.sdk %clang -target x86_64-apple-macos10.13.0.1 -mlinker-version=520 -### %t.o 2>&1 \ |
| 6 | // RUN: | FileCheck %s |
| 7 | |
| 8 | // CHECK: "-platform_version" "macos" "10.13.0" "10.14" |
| 9 | |
Alex Lorenz | be88a20 | 2019-12-17 14:24:23 -0800 | [diff] [blame^] | 10 | // RUN: %clang -target x86_64-apple-macos10.13 -mlinker-version=520 -### %t.o 2>&1 \ |
Alex Lorenz | 25ce33a | 2019-12-16 16:46:41 -0800 | [diff] [blame] | 11 | // RUN: | FileCheck --check-prefix=NOSDK %s |
| 12 | // NOSDK: "-platform_version" "macos" "10.13.0" "0.0.0" |