Added test case for non-objective-c situation in

my last patch.

llvm-svn: 97075
This commit is contained in:
Fariborz Jahanian 2010-02-24 22:53:58 +00:00
parent 005bb14825
commit 1f7fe2c7f7
1 changed files with 12 additions and 0 deletions

View File

@ -24,3 +24,15 @@ void f(void (^block)(void));
} }
@end @end
struct S {
int y;
};
void foo () {
struct S *SELF;
f(^{
f(^{
SELF->y = 42;
});
});
}