minix/external/bsd/llvm/dist/clang/test/Rewriter/rewrite-block-ivar-call.mm

13 lines
209 B
Text
Raw Normal View History

// 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