19 lines
299 B
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" } } */
|