1 /* { dg-do compile } */ 2 /* { dg-options "-std=gnu99" } */ 3 4 #include <stdint.h> 5 #include <stddef.h> 6 #include <bpf-helpers.h> 7 8 void foo()9foo () 10 { 11 int ret; 12 void *buf; 13 long res; 14 uint64_t flags; 15 size_t buf_len; 16 17 ret = bpf_strtol (buf, buf_len, flags, &res); 18 } 19 20 /* { dg-final { scan-assembler "call\t105" } } */ 21