mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 08:26:14 +00:00
20 lines
266 B
C
20 lines
266 B
C
|
|
#include <stdlib.h>
|
|
|
|
typedef
|
|
struct {
|
|
int x;
|
|
unsigned int y:1;
|
|
int z;
|
|
}
|
|
Fooble;
|
|
|
|
int main ( void )
|
|
{
|
|
Fooble* f = malloc(sizeof(Fooble));
|
|
f->x = 1;
|
|
f->z = 1;
|
|
f->y = (f == (Fooble*)17 ? 1 : 0);
|
|
return 0;
|
|
}
|