alexfh wrote:

The reduced test case:
```
template <typename>
struct A;
template <typename T>
struct A<void (T::C::*)(int &, T *)> {};
template <typename T>
void e(T) {
  A<T> f;
}
struct S {
  struct C {
    void h(int &, S *);
  };
  void i() { e(&C::h); }
};
```

https://gcc.godbolt.org/z/8Pq9EWbTv

https://github.com/llvm/llvm-project/pull/132317
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to