Home | History | Annotate | Download | only in tests
      1 
      2 #include <stdlib.h>
      3 
      4 typedef
      5    struct {
      6       int          x;
      7       unsigned int y:1;
      8       int          z;
      9    }
     10    Fooble;
     11 
     12 int main ( void )
     13 {
     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;
     19 }
     20