Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.target
/
bpf
/
helper-skb-change-type.c
blob: 46a94213fb34fcc8a735fdf32e4939b9a22a6599 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include
<stdint.h>
#include
<bpf-helpers.h>
void
foo
()
{
int
ret
;
void
*
skb
;
uint32_t
type
;
ret
=
bpf_skb_change_type
(
skb
,
type
);
}
/* { dg-final { scan-assembler "call\t32" } } */