[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / darwin-multiarch-arm.c
blob0ea5c4bf9a69a4ce53895fe5c696858a5cd61b8d
1 // Check that we compile correctly with multiple ARM -arch options.
2 //
3 // RUN: %clang -target arm7-apple-darwin10 -### \
4 // RUN: -arch armv7 -arch armv7s %s 2>&1 | FileCheck %s
6 // CHECK: "-cc1" "-triple" "thumbv7-apple-ios5.0.0"
7 // CHECK-SAME: "-o" "[[CC_OUT1:[^"]*]]"
8 // CHECK:ld{{(\.exe)?}}" {{.*}} "-o" "[[LD_OUT1:[^"]*]]" {{.*}} "[[CC_OUT1]]"
9 // CHECK:"-cc1" "-triple" "thumbv7s-apple-ios5.0.0"
10 // CHECK-SAME: "-o" "[[CC_OUT2:[^"]*]]"
11 // CHECK:ld{{(\.exe)?}}" {{.*}} "-o" "[[LD_OUT2:[^"]*]]" {{.*}} "[[CC_OUT2]]"
12 // CHECK:lipo{{(\.exe)?}}"
13 // CHECK-DAG: "[[LD_OUT1]]"
14 // CHECK-DAG: "[[LD_OUT2]]"