(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
bpf/
core-builtin-3.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O0 -dA -gbtf -mco-re" } */
       3  
       4  struct T {
       5    int a;
       6    int b;
       7    struct U {
       8      int c;
       9      struct V {
      10        int d;
      11        int e[4];
      12        int f;
      13      } v;
      14    } u;
      15  };
      16  
      17  void func (struct T * foo)
      18  {
      19    /* Access string: "0:2:1:1:3" */
      20    int *x = __builtin_preserve_access_index (&(foo->u.v.e[3]));
      21  
      22    *x = 17;
      23  }
      24  
      25  /* { dg-final { scan-assembler-times "ascii \"0:2:1:1:3.0\"\[\t \]+\[^\n\]*btf_aux_string" 1 } } */
      26  /* { dg-final { scan-assembler-times "bpfcr_type" 1 } } */