diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-29 21:18:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-29 21:18:36 +0000 |
commit | 0f44ad31c3155f9a032ff56ea0b25047f18b77cb (patch) | |
tree | 1fa87a6f107e703ff517849921e1a95b32bfdb2d | |
parent | 511a4917c452c53647d85bfaf1db6d3f5fb6ef3f (diff) |
New testcase, distilled by John
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8743 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp b/test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp new file mode 100644 index 0000000000..9e348b6e13 --- /dev/null +++ b/test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp @@ -0,0 +1,11 @@ +struct C { + int A, B; + ~C() {} + + void operator^(C b) const { } +}; + +void test(C *P) { + *P ^ *P; +} + |