| 1 |
// RUN: %clang -target armv7-apple-darwin -### %s 2>&1 \ |
| 2 |
// RUN: | FileCheck %s -check-prefix CHECK-DEFAULT |
| 3 |
|
| 4 |
// RUN: %clang -target armv7-apple-darwin -mkernel -### %s 2>&1 \ |
| 5 |
// RUN: | FileCheck %s -check-prefix CHECK-KERNEL |
| 6 |
|
| 7 |
// RUN: %clang -target armv7-none-gnueabi -mno-movt -### %s 2>&1 \ |
| 8 |
// RUN: | FileCheck %s -check-prefix CHECK-NO-MOVT |
| 9 |
|
| 10 |
// CHECK-DEFAULT-NOT: "-target-feature" "+no-movt" |
| 11 |
|
| 12 |
// CHECK-KERNEL: "-target-feature" "+no-movt" |
| 13 |
|
| 14 |
// CHECK-NO-MOVT: "-target-feature" "+no-movt" |