[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / clang / test / Frontend / invalid-target-feature.c
blobdba25f4e307f1445011212b88aa31c7b5d2a1c4b
1 // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature '' -target-feature m %s 2>&1 \
2 // RUN: | FileCheck -check-prefix=NO_PREFIX %s
4 // NO_PREFIX: warning: feature flag 'm' must start with either '+' to enable the feature or '-' to disable it; flag ignored [-Winvalid-command-line-argument]
6 // RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature '' -target-feature ' n' %s 2>&1 \
7 // RUN: | FileCheck -check-prefix=NULL_PREFIX %s
9 // NULL_PREFIX: warning: feature flag ' n' must start with either '+' to enable the feature or '-' to disable it; flag ignored [-Winvalid-command-line-argument]