https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110797
Bug ID: 110797
Summary: GCC rejects std::template same_as<int> form
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hewillk at gmail dot com
Target Milestone: ---
#include <concepts>
[[maybe_unused]] std::template same_as<int> auto i = 0;
I accidentally found that GCC rejected the above code, not sure if this is
valid code.
https://godbolt.org/z/edd6zx5df