aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bpf/helper-skb-pull-data.c
blob: 579d8562e3d2b26c08da97f0cc28cea49323cc3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */

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

void
foo ()
{
  int ret;
  void *skb;
  uint32_t len;

  ret = bpf_skb_pull_data (skb, len);
}

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