blob: 39b65d101d66ede2228c7ee8c8fc3023b42cac72 [file] [log] [blame]
struct blah {
int m1, m2;
};
void die(struct blah arg)
{
int i ;
struct blah buf[1];
for (i = 0; i < 1 ; buf[i++] = arg)
;
if (buf[0].m1 != 1) {
abort ();
}
}
int main()
{
struct blah s = { 1, 2 };
die(s);
exit (0);
}