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   int ret;
11   void *skb, *xfrm_state;
12   uint32_t index, size;
13   uint64_t flags;
14 
15   ret = bpf_skb_get_xfrm_state (skb, index,
16 				xfrm_state, size, flags);
17 }
18 
19 /* { dg-final { scan-assembler "call\t66" } } */
20