diff options
Diffstat (limited to 'test/SemaObjC/method-bad-param.m')
-rw-r--r-- | test/SemaObjC/method-bad-param.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/method-bad-param.m b/test/SemaObjC/method-bad-param.m index 388e447..0a1b1cd 100644 --- a/test/SemaObjC/method-bad-param.m +++ b/test/SemaObjC/method-bad-param.m @@ -26,7 +26,7 @@ foo somefunc2() {} // expected-error {{Objective-C interface type 'foo' cannot b // rdar://6780761 void f0(foo *a0) { extern void g0(int x, ...); - g0(1, *(foo*)0); // expected-error {{cannot pass object with interface type 'foo' by-value through variadic function}} + g0(1, *(foo*)a0); // expected-error {{cannot pass object with interface type 'foo' by-value through variadic function}} } // rdar://8421082 |