mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 02:05:01 +00:00
New testcase, distilled by John
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8743 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
511a4917c4
commit
0f44ad31c3
11
test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp
Normal file
11
test/C++Frontend/2003-09-29-ArgumentNumberMismatch.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
struct C {
|
||||
int A, B;
|
||||
~C() {}
|
||||
|
||||
void operator^(C b) const { }
|
||||
};
|
||||
|
||||
void test(C *P) {
|
||||
*P ^ *P;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user