Looks like clang doesn't complain about this kind of thing. Spotted by Andrea. Bug not in any released version.