[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / compiler-rt / test / msan / Linux / mallinfo.cpp
blobb2021c5df3cec841b00efb71fd5781f7329280e9
1 // RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
2 // UNSUPPORTED: aarch64-target-arch
4 #include <assert.h>
5 #include <malloc.h>
7 #include <sanitizer/msan_interface.h>
9 int main(void) {
10 struct mallinfo mi = mallinfo();
11 assert(__msan_test_shadow(&mi, sizeof(mi)) == -1);
12 return 0;