[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / aarch64-cortex-a710.c
blob68e0150916bb71b09b081a6acf3abd92c2f53976
1 // RUN: %clang -target aarch64 -mcpu=cortex-a710 -### -c %s 2>&1 | FileCheck -check-prefix=CORTEX-A710 %s
2 // CORTEX-A710: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu" "cortex-a710"
3 // CORTEX-A710-NOT: "-target-feature" "{{[+-]}}sm4"
4 // CORTEX-A710-NOT: "-target-feature" "{{[+-]}}sha3"
5 // CORTEX-A710-NOT: "-target-feature" "{{[+-]}}aes"
6 // CORTEX-A710-SAME: {{$}}
7 // RUN: %clang -target aarch64 -mcpu=cortex-a710+crypto -### -c %s 2>&1 | FileCheck -check-prefix=CORTEX-A710-CRYPTO %s
8 // CORTEX-A710-CRYPTO: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+sm4" "-target-feature" "+sha3" "-target-feature" "+sha2" "-target-feature" "+aes"