YouCompleteMe/cpp/llvm/tools/clang/test/Rewriter/rewrite-block-ivar-call.mm

13 lines
193 B
Plaintext
Raw Normal View History

// RUN: %clang_cc1 -x objective-c++ -fblocks -rewrite-objc -fobjc-fragile-abi -o - %s
@interface Foo {
void (^_block)(void);
}
@end
@implementation Foo
- (void)bar {
_block();
}
@end