[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / FixIt / fixit-interface-as-param.m
blob5191bc40fe0baf48fb88ef1834f58e012329784a
1 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
3 @interface NSView @end
5 @interface INTF
6 - (void) drawRect : inView:(NSView)view;
7 - (void)test:(NSView )a;
8 - (void)foo;
9 @end
11 // CHECK: {6:35-6:35}:"*"
12 // CHECK: {7:21-7:21}:"*"
13 @implementation INTF
14 -(void)foo {
15   ^(NSView view) {
16   };
18 @end
19 // CHECK: {15:11-15:11}:"*"