Jim Ingham 5fdeed4e9f Make blocks that capture their containing method's object pointer look like methods of
the containing class so that direct ivar access will work in the expression parser.

<rdar://problem/9797999>

llvm-svn: 167061
2012-10-30 23:35:54 +00:00

11 lines
194 B
Objective-C

#import "ivars-in-blocks.h"
int
main (int argc, char **argv)
{
IAmBlocky *my_blocky = [[IAmBlocky alloc] init];
int blocky_value;
blocky_value = [my_blocky callABlock: 33];
return 0;
}