Kind of reminds me of Yusuke Endoh's IOCCC entry that won "Most Solid."
http://www.ioccc.org/2013/endoh4/