blob: 078ea6e2ea1423ee404aadc3f5698b74ac6edeab [file] [log] [blame]
Alex Lorenzce4518f2017-05-04 13:56:51 +00001// 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}