blob: c95bdf937d645d5aa6bc37c0ede34ea74e110586 [file] [log] [blame]
#include <stdlib.h>
typedef struct {
unsigned char c;
int i;
void *foo;
} S;
S *make_s (void);
int
main (int argc, char **argv)
{
S *s = make_s ();
if (s->c == 0 && s->i == 1 && s->foo == getenv ("BLAH"))
abort();
return 0;
}
S *
make_s (void)
{
S *res = malloc (sizeof (S));
res->c = 1;
return res;
}