Improve test case from prior commit ever so slightly

llvm-svn: 129866
This commit is contained in:
Douglas Gregor 2011-04-20 18:20:33 +00:00
parent d645931066
commit 28d1282a0f
1 changed files with 1 additions and 0 deletions

View File

@ -47,5 +47,6 @@ void g(B *b) {
- (void)method:(B *)b {
// <rdar://problem/8985943>
b.operator+ = 17; // expected-error{{'operator+' is not a valid property name (accessing an object of type 'B *')}}
b->operator+ = 17; // expected-error{{'B' does not have a member named 'operator+'}}
}
@end