https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101051
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here are the testcases all together:
template <class T>
class Foo
{
constexpr operator T() -> T {}
};
struct S {
operator int() const -> double;
};
class A { operator auto*() -> int; };
