gcc/testsuite/gcc.target/arm/acle/pacbti-m-predef-11.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target arm_arch_v8_1m_main_pacbti_ok } */ |
| 3 | /* { dg-add-options arm_arch_v8_1m_main_pacbti } */ |
| 4 | |
| 5 | #if (__ARM_FEATURE_BTI != 1) |
| 6 | #error "Feature test macro __ARM_FEATURE_BTI_DEFAULT should be defined to 1." |
| 7 | #endif |
| 8 | |
| 9 | #if (__ARM_FEATURE_PAUTH != 1) |
| 10 | #error "Feature test macro __ARM_FEATURE__PAUTH should be defined to 1." |
| 11 | #endif |