https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125729
--- Comment #6 from Boning Chen <berningchen at gmail dot com> ---
For this example ?:
template <decltype(^^void) type> struct Error
{
Error() {}
};
template <typename T>
consteval auto fun()
{
using Type = int;
return ^^Type;
}
Error<fun<int>()> c{};
Error<fun<float>()> d{};
