Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
| 2 | |
| 3 | @class NSString, NSArray; |
| 4 | |
| 5 | @protocol ISyncSessionCallback |
| 6 | - (oneway void)clientWithId:(bycopy NSString *)clientId |
| 7 | canBeginSyncingPlanWithId:(bycopy NSString *)planId |
| 8 | syncModes:(bycopy NSArray /* ISDSyncState */ *)syncModes |
| 9 | entities:(bycopy NSArray /* ISDEntity */ *)entities |
| 10 | truthPullers:(bycopy NSDictionary /* NSString -> [NSString] */ *)truthPullers; // expected-error{{expected ')'}} expected-note {{to match this '('}} |
| 11 | @end |
| 12 | |