https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48920
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #2) > For the first testcase [basic.scope.class] says no diagnostic required, > doesn't it? ok but what about adding an optional one though?