Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

21 lines
273 B
C++

// PR24561
// RUN: %clangxx_msan -O2 -g %s -o %t && %run %t
#include <stdio.h>
struct A {
int c1 : 7;
int c8 : 1;
int c9 : 1;
A();
};
__attribute__((noinline)) A::A() : c8(1) {}
int main() {
A* a = new A();
if (a->c8 == 0)
printf("zz\n");
return 0;
}