[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / arm-bti-return-twice.c
blobc5cd385a34e20bda7b67a4f79a848dbc035fe4a9
1 // RUN: %clang -target arm-arm-none-eabi -march=armv8-m.main -mbranch-protection=bti \
2 // RUN: -mno-bti-at-return-twice -### %s 2>&1 | FileCheck %s --check-prefix=FEAT
3 // RUN: %clang -target arm-arm-none-eabi -march=armv8-m.main -mbranch-protection=bti \
4 // RUN: -### %s 2>&1 | FileCheck %s --check-prefix=NOFEAT
6 // FEAT: "+no-bti-at-return-twice"
7 // NOFEAT-NOT: "+no-bti-at-return-twice"