freebsd-dev/test/SemaObjC/invalid-typename.m
2010-01-01 10:34:51 +00:00

13 lines
552 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
@class NSString, NSArray;
@protocol ISyncSessionCallback
- (oneway void)clientWithId:(bycopy NSString *)clientId
canBeginSyncingPlanWithId:(bycopy NSString *)planId
syncModes:(bycopy NSArray /* ISDSyncState */ *)syncModes
entities:(bycopy NSArray /* ISDEntity */ *)entities
truthPullers:(bycopy NSDictionary /* NSString -> [NSString] */ *)truthPullers; // expected-error{{expected ')'}} expected-note {{to match this '('}}
@end