• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
2// rdar://11311333
3
4@interface NSView @end
5
6@interface INTF
7- (void) drawRect : inView:(NSView)view;
8- (void)test:(NSView )a;
9- (void)foo;
10@end
11
12// CHECK: {7:35-7:35}:"*"
13// CHECK: {8:21-8:21}:"*"
14@implementation INTF
15-(void)foo {
16  ^(NSView view) {
17  };
18}
19@end
20// CHECK: {16:11-16:11}:"*"
21