ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/bpf/helper-msg-apply-bytes.c

18 lines
256 B
C

/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include <stdint.h>
#include <bpf-helpers.h>
void
foo ()
{
int ret;
void *msg;
uint32_t bytes;
ret = bpf_msg_apply_bytes (msg, bytes);
}
/* { dg-final { scan-assembler "call\t61" } } */