Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
bpf
/
helper-bpf-redirect.c
blob: 9937d5ab4cc0f77a233f16c1a204b4be37c475d0 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include
<stdint.h>
#include
<bpf-helpers.h>
void
foo
()
{
int
ret
;
uint32_t
ifindex
;
uint64_t
flags
;
ret
=
bpf_redirect
(
ifindex
,
flags
);
}
/* { dg-final { scan-assembler "call\t23" } } */