tree-sitter-objc/examples/SemaObjC/invalid-typename.m

13 lines
520 B
Mathematica
Raw Normal View History

2022-04-16 15:58:26 +00:00
// 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 a type}}
@end