1 // RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
7 #include <sanitizer/msan_interface.h>
11 int ret
= getloadavg(x
, 3);
14 assert(__msan_test_shadow(x
, sizeof(double) * ret
) == -1);
15 assert(__msan_test_shadow(&x
[ret
], sizeof(double)) == 0);