================
@@ -598,3 +598,30 @@ namespace B {
}
void g(B::X x) { A::f(x); }
}
+
+namespace GH78314 {
+
+class a {
+public:
+ void operator--() = delete; // expected-note {{candidate function has been
explicitly deleted}} \
+ // expected-note {{candidate function not
viable: requires 0 arguments, but 1 was provided}}
+ void operator--(int) = delete; // expected-note {{candidate function has
been explicitly deleted}} \
+ // expected-note {{candidate function not
viable: requires 1 argument, but 0 were provided}}
+};
----------------
Fznamznon wrote:
Sure, done.
https://github.com/llvm/llvm-project/pull/78316
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits