repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
etc/services - sync with NetBSD-8
[minix.git]
/
external
/
bsd
/
llvm
/
dist
/
clang
/
test
/
FixIt
/
fixit-missing-self-in-block.m
blob
8fd9564ed02cde39114686136e9b6fbc58c1e19d
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