ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-current-v...

19 lines
299 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_current_value (ctx, buf, buf_len);
}
/* { dg-final { scan-assembler "call\t102" } } */