summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bpf/helper-sk-fullsock.c
blob: 9e66e94f57ff9bd5b74bbb2e840a5e87fe7015bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */

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

void
foo ()
{
  void *ret, *sk;

  ret = bpf_sk_fullsock (sk);
}

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