1// RUN: cp %s %t
2// RUN: %clang_cc1 -x objective-c -fobjc-arc -fblocks -fixit %t
3// RUN: %clang_cc1 -x objective-c -fobjc-arc -fblocks -Werror %t
4// rdar://11194874
5
6@interface Root @end
7
8@interface I : Root
9{
10  int _bar;
11}
12@end
13
14@implementation I
15  - (void)foo{
16      ^{
17           _bar = 3;
18       }();
19  }
20@end
21