| 1 | // RUN: %clang -target arm-none-gnueabi -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT |
|---|---|
| 2 | // RUN: %clang -target arm-none-gnueabi -mno-neg-immediates -### %s 2>&1 | FileCheck %s |
| 3 | |
| 4 | // RUN: %clang -target aarch64-none-gnueabi -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT |
| 5 | // RUN: %clang -target aarch64-none-gnueabi -mno-neg-immediates -### %s 2>&1 | FileCheck %s |
| 6 | |
| 7 | // CHECK: "-target-feature" "+no-neg-immediates" |
| 8 | // CHECK-DEFAULT-NOT: "+no-neg-immediates" |
| 9 |