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 void *from; 14 uint32_t len; 15 uint64_t flags; 16 17 ret = bpf_skb_store_bytes (skb, offset, from, len, flags); 18 } 19 20 /* { dg-final { scan-assembler "call\t9" } } */ 21