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

#include <stdint.h>

void
foo ()
{
  int ret;
  void *regs, *buf;
  uint32_t size;
  uint64_t flags;

  ret = __builtin_bpf_helper_get_stack (regs, buf, size, flags);
}

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