none/tests/fdleak_cmsg_supp.supp: Add suppressions for older glibc
[valgrind.git] / none / tests / bitfield1.c
blob1dcf4c9493a6c9d0825773333c50e2b8fc22cb91
2 #include <stdlib.h>
4 typedef
5 struct {
6 int x;
7 unsigned int y:1;
8 int z;
9 }
10 Fooble;
12 int main ( void )
14 Fooble* f = malloc(sizeof(Fooble));
15 f->x = 1;
16 f->z = 1;
17 f->y = (f == (Fooble*)17 ? 1 : 0);
18 return 0;