blob: 748d83e07005a4dc556faaefa121fed67b3020fd [file] [log] [blame]
Manman Rend063c5a2016-06-02 00:11:03 +00001// RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
Fariborz Jahanian7a055362012-05-09 21:49:29 +00002// rdar://11311333
3
4@interface NSView @end
5
6@interface INTF
7- (void) drawRect : inView:(NSView)view;
Manman Rend063c5a2016-06-02 00:11:03 +00008- (void)test:(NSView )a;
9- (void)foo;
Fariborz Jahanian7a055362012-05-09 21:49:29 +000010@end
11
Fariborz Jahanianb6499eb2012-05-29 21:52:45 +000012// CHECK: {7:35-7:35}:"*"
Manman Rend063c5a2016-06-02 00:11:03 +000013// CHECK: {8:21-8:21}:"*"
14@implementation INTF
15-(void)foo {
16 ^(NSView view) {
17 };
18}
19@end
20// CHECK: {16:11-16:11}:"*"