1  /* Test BTF linkage for functions.
       2  
       3     We expect to see one BTF_KIND_FUNC type with global linkage encoded in the
       4     BTF type's vlen field.  */
       5  
       6  /* { dg-do compile } */
       7  /* { dg-options "-O0 -gbtf -dA" } */
       8  
       9  /* { dg-final { scan-assembler-times "btt_info: kind=12, kflag=0, linkage=1" 1 } } */
      10  
      11  int funfoo (void)
      12  {
      13    return 0;
      14  }