New testcase, distilled by John
authorChris Lattner <sabre@nondot.org>
Mon, 29 Sep 2003 21:18:36 +0000 (21:18 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 29 Sep 2003 21:18:36 +0000 (21:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8743 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp [new file with mode: 0644]

diff --git a/test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp b/test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp
new file mode 100644 (file)
index 0000000..9e348b6
--- /dev/null
@@ -0,0 +1,11 @@
+struct C {
+        int A, B;
+        ~C() {}
+
+       void operator^(C b) const { }
+};
+
+void test(C *P) {
+        *P ^ *P;
+}
+