blob: d1f56b651d36040bd7c602d0df282fc4e60306a7 [file] [log] [blame]
// RUN: clang -fsyntax-only -verify %s
@interface NSObject {
struct objc_object *isa;
}
@end
@interface Foo : NSObject {
int _prop;
}
@end
@implementation Foo
- (int)doSomething {
int (^blk)(void) = ^{ return _prop; };
return blk();
}
@end