Bug with operands of type void in the ternary op.
Fix for test dealing with static decls.

Naked decls following static decl is ok, but not the reverse.