1 /* { dg-do compile } */ 2 /* { dg-options "-std=gnu99" } */ 3 4 #include <stdint.h> 5 #include <bpf-helpers.h> 6 7 void foo()8foo () 9 { 10 int ret; 11 void *skb; 12 uint32_t offset; 13 uint64_t from, to, size; 14 15 ret = bpf_l3_csum_replace (skb, offset, from, to, size); 16 } 17 18 /* { dg-final { scan-assembler "call\t10" } } */ 19