gcc/testsuite/gcc.target/arm/acle/pacbti-m-predef-12.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target arm_arch_v8_1m_main_ok } */ |
| 3 | /* { dg-add-options arm_arch_v8_1m_main } */ |
| 4 | /* { dg-additional-options "-mfloat-abi=softfp" } */ |
| 5 | |
| 6 | #if defined (__ARM_FEATURE_BTI) |
| 7 | #error "Feature test macro __ARM_FEATURE_BTI should not be defined." |
| 8 | #endif |
| 9 | |
| 10 | #if defined (__ARM_FEATURE_PAUTH) |
| 11 | #error "Feature test macro __ARM_FEATURE_PAUTH should not be defined." |
| 12 | #endif |