Name: Anonymous 2012-01-19 8:24
void main(){
int x=1;
printf("%d\n",x=2);
}
void main(){
int x=1;
printf("%d\n",x=2);
}
union and reading from another invokes undefined behaviour. I know at least GCC's optimizers take advantage of this fact.