Old style retagging should emit a compiler warning when newdecls are required.

This also fixes what looks to be a bug where `type_to_name` was returning "unknown" for tags that had names.

Also included is a warn test case for posterity's sake, since runtests doesn't seem to check for warnings yet.