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"