ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/bpf/helper-skb-change-proto.c

19 lines
281 B
C

/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include <stdint.h>
#include <bpf-helpers.h>
void
foo ()
{
int ret;
void *skb;
int16_t proto;
uint64_t flags;
ret = bpf_skb_change_proto (skb, proto, flags);
}
/* { dg-final { scan-assembler "call\t31" } } */