ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/bpf/helper-tail-call.c

18 lines
283 B
C

/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include <stdint.h>
#include <bpf-helpers.h>
void
foo ()
{
int ret;
void *ctx, *prog_array_map;
uint32_t index;
ret = bpf_tail_call (ctx, prog_array_map, index);
}
/* { dg-final { scan-assembler "call\t12" } } */