aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bpf/helper-msg-pull-data.c
blob: 98d343b029532034761bd92cbf765c16aa0b81f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */

#include <stdint.h>
#include <bpf-helpers.h>

void
foo ()
{
  int ret;
  void *msg;
  int len;

  ret = bpf_msg_pull_data (msg, len);
}

/* { dg-final { scan-assembler "call\t63" } } */