aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bpf/helper-get-local-storage.c
blob: 616342c4d62534e65184f3346ebdc8a943762f7c (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 ()
{
  void *ret, *map;
  uint64_t flags;

  ret = bpf_get_local_storage (map, flags);
}

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