Open
Description
In the following code, the constexpr
specifier should not be allowed in the explicit instantiation. It is rejected by GCC, but accepted by Clang.
template <class>
inline constexpr int i{};
template constexpr int i<int>;
See Compiler Explorer: https://godbolt.org/z/jzvY3Mqxc