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

--- Comment #1 from John Eivind Helset <jehelset at gmail dot com> ---
ran into this today as well with:
```cpp
struct X{
  void f(char){}
};

template<auto X>
struct Y{};
template<typename T,typename U,T U::* ptr>
struct Y<ptr>{};
template<typename T,typename U,typename... A,T (U::*ptr)(A...)>
struct Y<ptr>{};

Y<&X::f> y;
```
using gcc 13.1.1, clang trunk accepted same code.

Reply via email to