summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/darwin-ld-platform-version-watchos.c
blob: 9663fc613816db9fe5b9e918081acded549ea9cb (plain)
1
2
3
4
5
6
7
8
9
// RUN: touch %t.o

// RUN: %clang -target arm64_32-apple-watchos5.2 -isysroot %S/Inputs/WatchOS6.0.sdk -mlinker-version=520 -### %t.o 2>&1 \
// RUN:   | FileCheck %s
// RUN: %clang -target x86_64-apple-watchos6-simulator -isysroot %S/Inputs/WatchOS6.0.sdk -mlinker-version=520 -### %t.o 2>&1 \
// RUN:   | FileCheck --check-prefix=SIMUL %s

// CHECK: "-platform_version" "watchos" "5.2.0" "6.0.0"
// SIMUL: "-platform_version" "watchos-simulator" "6.0.0" "6.0.0"
OpenPOWER on IntegriCloud