1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu99" } */
3
4 #include <stdint.h>
5 #include <bpf-helpers.h>
6
7 void
8 foo ()
9 {
10 uint64_t ret;
11
12 ret = bpf_get_current_pid_tgid ();
13 }
14
15 /* { dg-final { scan-assembler "call\t14" } } */