2016-06-02 08:11:03 +08:00
|
|
|
// RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
|
2012-05-10 05:49:29 +08:00
|
|
|
// rdar://11311333
|
|
|
|
|
|
|
|
@interface NSView @end
|
|
|
|
|
|
|
|
@interface INTF
|
|
|
|
- (void) drawRect : inView:(NSView)view;
|
2016-06-02 08:11:03 +08:00
|
|
|
- (void)test:(NSView )a;
|
|
|
|
- (void)foo;
|
2012-05-10 05:49:29 +08:00
|
|
|
@end
|
|
|
|
|
2012-05-30 05:52:45 +08:00
|
|
|
// CHECK: {7:35-7:35}:"*"
|
2016-06-02 08:11:03 +08:00
|
|
|
// CHECK: {8:21-8:21}:"*"
|
|
|
|
@implementation INTF
|
|
|
|
-(void)foo {
|
|
|
|
^(NSView view) {
|
|
|
|
};
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
// CHECK: {16:11-16:11}:"*"
|