[llvm-commits] CVS: llvm/test/Programs/SingleSource/Regression/C++/CompileFail/2003-09-29-ArgumentNumberMismatch.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Sep 29 16:19:01 PDT 2003
Changes in directory llvm/test/Programs/SingleSource/Regression/C++/CompileFail:
2003-09-29-ArgumentNumberMismatch.cpp added (r1.1)
---
Log message:
New testcase, distilled by John
---
Diffs of the changes:
Index: llvm/test/Programs/SingleSource/Regression/C++/CompileFail/2003-09-29-ArgumentNumberMismatch.cpp
diff -c /dev/null llvm/test/Programs/SingleSource/Regression/C++/CompileFail/2003-09-29-ArgumentNumberMismatch.cpp:1.1
*** /dev/null Mon Sep 29 16:18:46 2003
--- llvm/test/Programs/SingleSource/Regression/C++/CompileFail/2003-09-29-ArgumentNumberMismatch.cpp Mon Sep 29 16:18:36 2003
***************
*** 0 ****
--- 1,11 ----
+ struct C {
+ int A, B;
+ ~C() {}
+
+ void operator^(C b) const { }
+ };
+
+ void test(C *P) {
+ *P ^ *P;
+ }
+
More information about the llvm-commits
mailing list