20 lines · plain
1// RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s2 3@interface NSView @end4 5@interface INTF6- (void) drawRect : inView:(NSView)view;7- (void)test:(NSView )a;8- (void)foo;9@end10 11// CHECK: {6:35-6:35}:"*"12// CHECK: {7:21-7:21}:"*"13@implementation INTF14-(void)foo {15 ^(NSView view) {16 };17}18@end19// CHECK: {15:11-15:11}:"*"20