[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / FixIt / fixit-interface-as-param.m
blob748d83e07005a4dc556faaefa121fed67b3020fd
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
4 @interface NSView @end
6 @interface INTF
7 - (void) drawRect : inView:(NSView)view;
8 - (void)test:(NSView )a;
9 - (void)foo;
10 @end
12 // CHECK: {7:35-7:35}:"*"
13 // CHECK: {8:21-8:21}:"*"
14 @implementation INTF
15 -(void)foo {
16   ^(NSView view) {
17   };
19 @end
20 // CHECK: {16:11-16:11}:"*"