re PR c++/16175 (Wrong type reported in diagnostic)