alexfh wrote:

This commit also breaks the following seemingly valid code 
(https://gcc.godbolt.org/z/1azKEKh6K):
```
template<typename T>
class Base {
public:
  Base& operator=(int) { return *this; }
  class Inner;
};

template<typename T>
class Base<T>::Inner : public Base<T> {
public:
  using Base<T>::operator=;
};

void f() {
  Base<char>::Inner w;
  w = 7;
}
```

(no further commits have fixed this so far, IIUC)

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

Reply via email to