ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/bpf/helper-sock-map-update.c

18 lines
282 B
C
Raw Normal View History

2024-04-01 15:19:46 +00:00
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include <stdint.h>
#include <bpf-helpers.h>
void
foo ()
{
int ret;
void *skops, *map, *key;
uint64_t flags;
ret = bpf_sock_map_update (skops, map, key, flags);
}
/* { dg-final { scan-assembler "call\t53" } } */