mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
- move remaining x86-specific Memcheck tests into an x86/ subdir. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2817
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;
|
|
}
|