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