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

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

void
foo ()
{
  uint64_t ret;
  void *skb;

  ret = bpf_skb_cgroup_id (skb);
}

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