summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bpf/helper-msg-apply-bytes.c
blob: 3b831acad643b6e6d9e777e2fc92c6f9e1fcd6f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */

#include <stdint.h>

void
foo ()
{
  int ret;
  void *msg;
  uint32_t bytes;
  
  ret = __builtin_bpf_helper_msg_apply_bytes (msg, bytes);
}

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