repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git]
/
clang
/
test
/
FixIt
/
fixit-missing-self-in-block.m
blob
929f36498d42036944b30e4fdf1fe71b3e0de7eb
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
5
@interface Root @end
6
7
@interface I : Root
8
{
9
int _bar;
10
}
11
@end
12
13
@implementation I
14
- (void)foo{
15
^{
16
_bar = 3;
17
}();
18
}
19
@end