blob: 02d1a07cb4a85602d2656c163ae8f0449a9dfb57 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include <stdint.h>
#include <bpf-helpers.h>
void
foo ()
{
int ret;
int size;
void *dst;
const void *unsafe_ptr;
ret = bpf_probe_read_str (dst, size, unsafe_ptr);
}
/* { dg-final { scan-assembler "call\t45" } } */