Is this self initialization valid?
I’m pretty sure it’s defined, and x should have the value 1. ยง3.6.2/1 says: “Objects with static storage duration (3.7.1) shall be zero-initialized (8.5) before any other initialization takes place.” After that, I think it’s all pretty straightforward.