aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bpf/helper-get-current-uid-gid.c
blob: b3e7261c35b4ee1b147129c0e56951c698043b2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */

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

void
foo ()
{
  uint64_t ret;

  ret = bpf_get_current_uid_gid ();
}

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