aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/invalid-typename.m
blob: 4e2dba8e149429a43fd80a8a45879ca963755804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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