1  /* Check that GCC does bti instruction.  */
       2  /* { dg-do compile } */
       3  /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" "-mcpu=*" } } */
       4  /* { dg-options "-march=armv8.1-m.main -mthumb -mfloat-abi=softfp -mbranch-protection=bti --save-temps" } */
       5  
       6  int
       7  main (void)
       8  {
       9    return 0;
      10  }
      11  
      12  /* { dg-final { scan-assembler "bti" } } */