1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t 2>&1
4 #include <sys/eventfd.h>
6 #include <sanitizer/msan_interface.h>
8 int main(int argc
, char *argv
[]) {
9 int efd
= eventfd(42, 0);
13 int ret
= eventfd_read(efd
, &v
);
15 __msan_check_mem_is_initialized(&v
, sizeof(v
));