summaryrefslogtreecommitdiff
path: root/clang/test/Rewriter/rewrite-block-ivar-call.mm
blob: 2ec27b3eb0659eedbb57a8bf0676b3545946d220 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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