1 struct X 2 { 3 unsigned char buf[sizeof (int)]; 4 }; bar()5 void bar () { struct X x; *(volatile char *)x.buf = 1; } 6