xref: /aosp_15_r20/external/clang/test/Driver/arm-ras.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: %clang -target arm-none-none-eabi -march=armv8a+ras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RAS %s
2*67e74705SXin Li // RUN: %clang -target arm-none-none-eabi -mcpu=generic+ras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RAS %s
3*67e74705SXin Li // CHECK-RAS: "-target-feature" "+ras"
4*67e74705SXin Li 
5*67e74705SXin Li // RUN: %clang -target arm-none-none-eabi -march=armv8a+noras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORAS %s
6*67e74705SXin Li // RUN: %clang -target arm-none-none-eabi -mcpu=generic+noras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORAS %s
7*67e74705SXin Li // CHECK-NORAS: "-target-feature" "-ras"
8