aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bpf/helper-skb-ecn-set-ce.c
blob: c028ec1d6bbc3f0ca115e80cff1e9000bb96144a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */

#include <stdint.h>
#include <bpf-helpers.h>

void
foo ()
{
  int ret;
  void *skb;

  ret = bpf_skb_ecn_set_ce (skb);
}

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