blob: 1dcf4c9493a6c9d0825773333c50e2b8fc22cb91 [file] [log] [blame]
sewardjde4a1d02002-03-22 01:27:54 +00001
muellerb3a89292004-01-03 14:24:42 +00002#include <stdlib.h>
sewardjde4a1d02002-03-22 01:27:54 +00003
4typedef
5 struct {
6 int x;
7 unsigned int y:1;
8 int z;
9 }
10 Fooble;
11
njn25e49d8e72002-09-23 09:36:25 +000012int main ( void )
sewardjde4a1d02002-03-22 01:27:54 +000013{
14 Fooble* f = malloc(sizeof(Fooble));
15 f->x = 1;
16 f->z = 1;
17 f->y = (f == (Fooble*)17 ? 1 : 0);
njn25e49d8e72002-09-23 09:36:25 +000018 return 0;
sewardjde4a1d02002-03-22 01:27:54 +000019}