| 1 | // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+predres %s 2>&1 | FileCheck %s |
| 2 | // CHECK: "-target-feature" "+predres" |
| 3 | // CHECK-NOT: "-target-feature" "-predres" |
| 4 | |
| 5 | // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.5a+nopredres %s 2>&1 | FileCheck %s --check-prefix=NOPR |
| 6 | // NOPR: "-target-feature" "-predres" |
| 7 | // NOPR-NOT: "-target-feature" "+predres" |
| 8 | |
| 9 | // RUN: %clang -### -target aarch64-none-none-eabi %s 2>&1 | FileCheck %s --check-prefix=ABSENT |
| 10 | // ABSENT-NOT: "-target-feature" "+predres" |
| 11 | // ABSENT-NOT: "-target-feature" "-predres" |
| 12 | |