]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.target/bpf/helper-set-hash.c
GCC port for eBPF
[gcc.git] / gcc / testsuite / gcc.target / bpf / helper-set-hash.c
1 /* { dg-do compile } */
2
3 #include <stdint.h>
4
5 void
6 foo ()
7 {
8 uint32_t ret;
9 void *skb;
10 uint32_t hash;
11
12 ret = __builtin_bpf_helper_set_hash (skb, hash);
13 }
14
15 /* { dg-final { scan-assembler "call\t48" } } */
This page took 0.034759 seconds and 5 git commands to generate.