[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / aarch64-negative-modifiers-for-default-features.c
blob03dd8af7588cae19a058d6a6699e3f2c418d14bb
1 // Test that default features (e.g. flagm/sb/ssbs for 8.5) can be disabled via -march.
3 // RUN: %clang --target=aarch64 -march=armv8.5-a+noflagm+nosb+nossbs -c %s -### 2>&1 | FileCheck %s
4 // CHECK: "-triple" "aarch64"
5 // CHECK-SAME: "-target-feature" "+v8.5a"
6 // CHECK-SAME: "-target-feature" "-flagm"
7 // CHECK-SAME: "-target-feature" "-sb"
8 // CHECK-SAME: "-target-feature" "-ssbs"
10 // CHECK-NOT: "-target-feature" "+flagm"
11 // CHECK-NOT: "-target-feature" "+sb"
12 // CHECK-NOT: "-target-feature" "+ssbs"