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 00000000000..9e348b6e134 --- /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; +} +