llvm-6502/test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp
Chris Lattner 0f44ad31c3 New testcase, distilled by John
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8743 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-29 21:18:36 +00:00

12 lines
119 B
C++

struct C {
int A, B;
~C() {}
void operator^(C b) const { }
};
void test(C *P) {
*P ^ *P;
}