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