1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
7 #include <sanitizer/msan_interface.h>
9 int main(int argc
, char *argv
[]) {
11 assert(0 == __msan_test_shadow(buf
, sizeof(buf
)));
12 // *& to suppress bzero-to-memset optimization.
14 assert(50 == __msan_test_shadow(buf
, sizeof(buf
)));