2 // RUN: %clang -target arm-arm-none-eabi -march=armv8.1-m.main+nopacbti %s -### 2>&1 | FileCheck %s
3 // RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-m85+nopacbti %s -### 2>&1 | FileCheck %s
5 // CHECK-NOT: "-target-feature" "+pacbti"
6 // CHECK: "-target-feature" "-pacbti"
7 // CHECK-NOT: "-target-feature" "+pacbti"