[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / aarch64-fix-cortex-a53-835769.c
blob7e809866fc50272b02b595c01dfe8a9a0c2c95fb
1 // RUN: %clang -target aarch64-linux-eabi %s -### 2>&1 \
2 // RUN: | FileCheck --check-prefix=CHECK-DEF %s
3 // RUN: %clang -target aarch64-linux-eabi -mfix-cortex-a53-835769 %s -### 2>&1 \
4 // RUN: | FileCheck --check-prefix=CHECK-YES %s
5 // RUN: %clang -target aarch64-linux-eabi -mno-fix-cortex-a53-835769 %s -### 2>&1 \
6 // RUN: | FileCheck --check-prefix=CHECK-NO %s
8 // RUN: %clang -target aarch64-android-eabi %s -### 2>&1 \
9 // RUN: | FileCheck --check-prefix=CHECK-YES %s
11 // RUN: %clang --target=aarch64-fuchsia %s -### 2>&1 \
12 // RUN: | FileCheck --check-prefix=CHECK-YES %s
14 // RUN: %clang --target=aarch64-fuchsia -mcpu=cortex-a73 %s -### 2>&1 \
15 // RUN: | FileCheck --check-prefix=CHECK-DEF %s
17 // CHECK-DEF-NOT: "{[+-]}fix-cortex-a53-835769"
18 // CHECK-YES: "+fix-cortex-a53-835769"
19 // CHECK-NO: "-fix-cortex-a53-835769"