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

19 lines
299 B
C

/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include <bpf-helpers.h>
char *map () { return 0; }
void
foo ()
{
int ret;
long long flags = 0;
char *key = 0, *value = 0;
ret = bpf_map_update_elem (map (), key, value, flags);
}
/* { dg-final { scan-assembler "call\t2" } } */