Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
e1a925d142a70f6c8fca482b66a805714bfb80ed
/
.
/
memcheck
/
tests
/
fpeflags.c
blob: 27cd3e3e99b635ef6234d9ba69a14e62d7623c98 [
file
] [
log
] [
blame
]
#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
;
}