[cfe-commits] r126327 - /cfe/trunk/test/SemaObjC/dist-object-modifiers.m
Matt Beaumont-Gay
matthewbg at google.com
Wed Feb 23 11:39:06 PST 2011
Author: matthewbg
Date: Wed Feb 23 13:39:05 2011
New Revision: 126327
URL: http://llvm.org/viewvc/llvm-project?rev=126327&view=rev
Log:
fix typo in test too
Modified:
cfe/trunk/test/SemaObjC/dist-object-modifiers.m
Modified: cfe/trunk/test/SemaObjC/dist-object-modifiers.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/dist-object-modifiers.m?rev=126327&r1=126326&r2=126327&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/dist-object-modifiers.m (original)
+++ cfe/trunk/test/SemaObjC/dist-object-modifiers.m Wed Feb 23 13:39:05 2011
@@ -14,7 +14,7 @@
@implementation I
- (id)serverPID { return 0; } // expected-warning {{conflicting distributed object modifiers on return type in implementation of 'serverPID'}}
-- (void)doStuff:(id)clientId { } // expected-warning {{conflicting distributed object modifiers on patameter type in implementation of 'doStuff:'}}
+- (void)doStuff:(id)clientId { } // expected-warning {{conflicting distributed object modifiers on parameter type in implementation of 'doStuff:'}}
- (bycopy id)Ok { return 0; }
+ (id) stillMore : (id)Arg : (bycopy id)Arg1 { return Arg; } // expected-warning {{conflicting distributed object modifiers on return type in implementation of 'stillMore::'}} \
// expected-warning 2{{conflicting distributed object modifiers on patameter type in implementation of 'stillMore::'}}
More information about the cfe-commits
mailing list