13 lines
209 B
Text
13 lines
209 B
Text
|
// 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
|