Added test case for non-objective-c situation in
my last patch. llvm-svn: 97075
This commit is contained in:
parent
005bb14825
commit
1f7fe2c7f7
|
@ -24,3 +24,15 @@ void f(void (^block)(void));
|
|||
}
|
||||
@end
|
||||
|
||||
struct S {
|
||||
int y;
|
||||
};
|
||||
|
||||
void foo () {
|
||||
struct S *SELF;
|
||||
f(^{
|
||||
f(^{
|
||||
SELF->y = 42;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue