llvm-project/clang/test/Rewriter/rewrite-block-ivar-call.mm

13 lines
209 B
Plaintext

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