Debian Codegraph @

clang/test/Driver/xros-driver-requires-darwin-host.c

raw
1 // REQUIRES: system-darwin && target={{.*}}-{{darwin|macos}}{{.*}}
2
3 // RUN: env XROS_DEPLOYMENT_TARGET=1.0 %clang -arch arm64 -c -### %s 2>&1 | FileCheck %s
4
5 // RUN: rm -rf %t.dir
6 // RUN: mkdir -p %t.dir/XROS1.0.sdk
7 // RUN: %clang -arch arm64 -isysroot %t.dir/XROS1.0.sdk -c -### %s 2>&1 | FileCheck %s
8 // RUN: mkdir -p %t.dir/XRSimulator1.0.sdk
9 // RUN: %clang -arch arm64 -isysroot %t.dir/XRSimulator1.0.sdk -c -### %s 2>&1 | FileCheck --check-prefix=CHECK_SIM %s
10
11
12 // CHECK: "-cc1"{{.*}} "-triple" "arm64-apple-xros1.0.0"
13 // CHECK_SIM: "-cc1"{{.*}} "-triple" "arm64-apple-xros1.0.0-simulator"