1  /* { dg-do compile } */
       2  /* { dg-options "-std=gnu99" } */
       3  
       4  #include <stdint.h>
       5  #include <bpf-helpers.h>
       6  
       7  void
       8  foo ()
       9  {
      10    int ret;
      11    void *sk, *iph, *th;
      12    uint32_t iph_len, th_len;
      13  
      14    ret = bpf_tcp_check_syncookie (sk, iph,
      15  				 iph_len,
      16  				 th, th_len);
      17  }
      18  
      19  /* { dg-final { scan-assembler "call\t100" } } */