forked from OSchip/llvm-project
13 lines
562 B
C
13 lines
562 B
C
// RUN: touch %t.o
|
|
|
|
// RUN: %clang -target x86_64-apple-macos10.13 -isysroot %S/Inputs/MacOSX10.14.sdk -mlinker-version=0 -### %t.o 2>&1 \
|
|
// RUN: | FileCheck %s
|
|
// RUN: env SDKROOT=%S/Inputs/MacOSX10.14.sdk %clang -target x86_64-apple-macos10.13.0.1 -mlinker-version=520 -### %t.o 2>&1 \
|
|
// RUN: | FileCheck %s
|
|
|
|
// CHECK: "-platform_version" "macos" "10.13.0" "10.14"
|
|
|
|
// RUN: %clang -target x86_64-apple-macos10.13 -mlinker-version=520 -### %t.o 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=NOSDK %s
|
|
// NOSDK: "-platform_version" "macos" "10.13.0" "0.0.0"
|