aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-tail.c
blob: db55168144bc73253a056e6f9de6579aeea6094f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */

#include <stdint.h>
#include <bpf-helpers.h>

void
foo ()
{
  int ret;
  void *xdp_md;
  int delta;

  ret = bpf_xdp_adjust_tail (xdp_md, delta);
}

/* { dg-final { scan-assembler "call\t65" } } */