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

20 lines
315 B
C
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
/* { 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;
uint64_t flags;
ret = bpf_sysctl_get_name (ctx, buf, buf_len, flags);
}
/* { dg-final { scan-assembler "call\t101" } } */