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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
Index
/
KeepGoingWithLotsOfErrors.mm
blob
078ea6e2ea1423ee404aadc3f5698b74ac6edeab
1
// RUN: env CINDEXTEST_KEEP_GOING=1 c-index-test -code-completion-at=%s:25:1 %s
2
// Shouldn't crash!
3
// This is the minimized test that triggered an infinite recursion:
4
5
+(BOOL) onEntity {
6
}
7
8
-(const Object &) a_200 {
9
}
10
11
-(int) struct {
12
}
13
14
-(int) bar {
15
}
16
17
-(int) part {
18
}
19
20
+(some_type_t) piece {
21
}
22
23
+(void) z_Z_42 {
24
([self onEntity: [] { 42];
25
} class: ^ { }
26
];
27
[super];
28
BOOL struct;
29
}