cor3ntin wrote:

Thanks for the heads up!

I'm looking into it.

Reduced to ```cpp
struct TmsException  {
  int _what;
  const char* what() const;

  template<typename T=int>
  int& what() & { return _what; }
};
int main() {
  TmsException E;
  E.what() = 42;
}```

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

Reply via email to