test code for some c semantics confusion