mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 08:26:14 +00:00
23 lines
306 B
C
23 lines
306 B
C
#include <stdlib.h>
|
|
|
|
struct instance
|
|
{
|
|
unsigned myVal:1;
|
|
};
|
|
|
|
static struct instance* myInstance;
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
float g = 1.0f;
|
|
|
|
myInstance = malloc(sizeof(struct instance));
|
|
|
|
myInstance->myVal = 1;
|
|
|
|
if (g == 1.0f)
|
|
return 0;
|
|
else
|
|
return 1;
|
|
}
|