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

11 lines
295 B
C
Raw Normal View History

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