1  /* { dg-do compile } */
       2  /* { dg-require-effective-target mbranch_protection_ok } */
       3  /* { dg-additional-options "-march=armv8.1-m.main+fp -mbranch-protection=bti+pac-ret+leaf -mfloat-abi=hard" } */
       4  
       5  #if (__ARM_FEATURE_BTI_DEFAULT != 1)
       6  #error "Feature test macro __ARM_FEATURE_BTI_DEFAULT should be defined to 1."
       7  #endif
       8  
       9  #if (__ARM_FEATURE_PAC_DEFAULT != 5)
      10  #error "Feature test macro __ARM_FEATURE_PAC_DEFAULT should be defined to 5."
      11  #endif
      12