(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
acle/
pacbti-m-predef-7.c
       1  /* { dg-do compile } */
       2  /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" "-mcpu=*" } } */
       3  /* { dg-additional-options "-march=armv8.1-m.main+pacbti+fp --save-temps -mfloat-abi=hard" } */
       4  
       5  #if defined (__ARM_FEATURE_BTI_DEFAULT)
       6  #error "Feature test macro __ARM_FEATURE_BTI_DEFAULT should be undefined."
       7  #endif
       8  
       9  #if defined (__ARM_FEATURE_PAC_DEFAULT)
      10  #error "Feature test macro __ARM_FEATURE_PAC_DEFAULT should be undefined."
      11  #endif
      12  
      13  /* { dg-final { scan-assembler "\.arch_extension pacbti" } } */
      14  /* { dg-final { scan-assembler "\.eabi_attribute 50, 2" } } */
      15  /* { dg-final { scan-assembler "\.eabi_attribute 52, 2" } } */
      16  /* { dg-final { scan-assembler-not "\.eabi_attribute 74" } } */
      17  /* { dg-final { scan-assembler-not "\.eabi_attribute 76" } } */