[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / aarch64-d128.c
blob28305dad00e3ad7c2a55d746a5ef855fd1564f45
1 // Test that target feature d128 is implemented and available correctly
3 // FEAT_D128 is optional (off by default) for v9.4a and older, and can be enabled using +d128
4 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv9.4-a %s 2>&1 | FileCheck %s --check-prefix=NOT_ENABLED
5 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv9.4-a+d128 %s 2>&1 | FileCheck %s --check-prefix=ENABLED
6 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv9.4-a+nod128 %s 2>&1 | FileCheck %s --check-prefix=DISABLED
8 // ENABLED: "-target-feature" "+d128"
9 // NOT_ENABLED-NOT: "-target-feature" "+d128"
10 // DISABLED: "-target-feature" "-d128"