hanchenye-llvm-project/clang/test/Driver/arm-no-movt.c

15 lines
500 B
C

// RUN: %clang -target armv7-apple-darwin -### %s 2>&1 \
// RUN: | FileCheck %s -check-prefix CHECK-DEFAULT
// RUN: %clang -target armv7-apple-darwin -mkernel -### %s 2>&1 \
// RUN: | FileCheck %s -check-prefix CHECK-KERNEL
// RUN: %clang -target armv7-none-gnueabi -mno-movt -### %s 2>&1 \
// RUN: | FileCheck %s -check-prefix CHECK-NO-MOVT
// CHECK-DEFAULT-NOT: "-target-feature" "+no-movt"
// CHECK-KERNEL: "-target-feature" "+no-movt"
// CHECK-NO-MOVT: "-target-feature" "+no-movt"