llvm-for-llvmta/tools/clang/test/Rewriter/rewrite-block-ivar-call.mm

13 lines
209 B
Plaintext
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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