1 /* { dg-do compile } */ 2 /* { dg-options "-std=gnu99" } */ 3 4 #include <bpf-helpers.h> 5 map()6char *map () { return 0; } 7 8 void foo()9foo () 10 { 11 int ret; 12 long long flags = 0; 13 char *key = 0, *value = 0; 14 15 ret = bpf_map_update_elem (map (), key, value, flags); 16 } 17 18 /* { dg-final { scan-assembler "call\t2" } } */ 19