ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-new-value.c

19 lines
295 B
C

/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include <stdint.h>
#include <stddef.h>
#include <bpf-helpers.h>
void
foo ()
{
int ret;
void *ctx, *buf;
size_t buf_len;
ret = bpf_sysctl_get_new_value (ctx, buf, buf_len);
}
/* { dg-final { scan-assembler "call\t103" } } */