blob: 08f90a9d9c18d5b3198e51615c04dde59865ba85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
/* { dg-require-effective-target arm_arch_v8_1m_main_ok } */
/* { dg-require-effective-target mbranch_protection_ok } */
/* { dg-additional-options "-mbranch-protection=bti+pac-ret -mfloat-abi=hard" } */
/* { dg-add-options arm_arch_v8_1m_main } */
#if (__ARM_FEATURE_BTI_DEFAULT != 1)
#error "Feature test macro __ARM_FEATURE_BTI_DEFAULT should be defined to 1."
#endif
#if !defined (__ARM_FEATURE_PAC_DEFAULT)
#error "Feature test macro __ARM_FEATURE_PAC_DEFAULT should be defined."
#endif
|