brintos

brintos / llvm-project-archived public Read only

0
0
Text · 595 B · 94c13b9 Raw
14 lines · c
1// REQUIRES: system-darwin && target={{.*}}-{{darwin|macos}}{{.*}}2 3// RUN: env XROS_DEPLOYMENT_TARGET=1.0 %clang -arch arm64 -c -### %s 2>&1 | FileCheck %s4 5// RUN: rm -rf %t.dir6// RUN: mkdir -p %t.dir/XROS1.0.sdk7// RUN: %clang -arch arm64 -isysroot %t.dir/XROS1.0.sdk -c -### %s 2>&1 | FileCheck %s8// RUN: mkdir -p %t.dir/XRSimulator1.0.sdk9// RUN: %clang -arch arm64 -isysroot %t.dir/XRSimulator1.0.sdk -c -### %s 2>&1 | FileCheck --check-prefix=CHECK_SIM %s10 11 12// CHECK: "-cc1"{{.*}} "-triple" "arm64-apple-xros1.0.0"13// CHECK_SIM: "-cc1"{{.*}} "-triple" "arm64-apple-xros1.0.0-simulator"14