1 2 3 4 5 6 7 8 9 10 11 12
struct s { char c1, c2; }; void foo (struct s s) { static struct s s1; s1 = s; } int main () { static struct s s2; foo (s2); exit (0); }