================
@@ -1073,3 +1073,10 @@ int main() {
return foo[]; // expected-error {{no viable overloaded operator[] for type
'Foo'}}
}
}
+
+namespace GH100394 {
+struct C {
+ void f(this const C);
+ void f() const ; // ok
+};
----------------
a-tarasyuk wrote:
@cor3ntin @erichkeane I've changed the normalization to omit early returns and
covered this case and several others -
https://compiler-explorer.com/z/TMTo5s998. Are there any additional cases that
should be covered? Thanks
https://github.com/llvm/llvm-project/pull/110435
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits