llvm-for-llvmta/tools/clang/test/Driver/hexagon-nvj.c

11 lines
295 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang -target hexagon -### -mnvj %s 2>&1 \
// RUN: | FileCheck %s -check-prefix CHECK-NVJ
// RUN: %clang -target hexagon -### -mno-nvj %s 2>&1 \
// RUN: | FileCheck %s -check-prefix CHECK-NO-NVJ
// CHECK-NVJ: "-target-feature" "+nvj"
// CHECK-NO-NVJ: "-target-feature" "-nvj"