https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109941
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |85973 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- That doesn't currently work with GCC, so there's not much point doing it. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85973 [Bug 85973] [[nodiscard]] on class shall emit a warning for unused anonymous variable