https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91519
--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Yes, the treatment of namespaces was dogdgy. This is fixed in https://gcc.gnu.org/ml/gcc-patches/2019-08/msg01438.html (not yet reviewed). HJ, does this patch also fix the original test case?