https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116911

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-reduction             |

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
```
template <int &> struct a {};
namespace {
namespace Q_QGS_global_callback_table {
int guard;
}
} // namespace
a<Q_QGS_global_callback_table::guard> b;
```

rejected by gcc w/ -std=c++11
accepted by gcc w/ -std=c++17
accepted by clang w/ -std=c++11
accepted by clang w/ -std=c++17

Is this OK?

Reply via email to