https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62306
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org --- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> --- So, intentional. And the test added for 62302 covers this as well.