struct foo { int i; }; extern int e; struct foo bar(void) { struct foo ret; ret.i = e + 0x5a; return ret; } int main(void) { struct foo f; f = bar(); return f.i; }