Redmine#4831: check that the const namespace is resolved correctly