view clang/test/Index/KeepGoingWithLotsOfErrors.mm @ 173:0572611fdcc8 llvm10 llvm12

reorgnization done
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 11:55:54 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: env CINDEXTEST_KEEP_GOING=1 c-index-test -code-completion-at=%s:25:1 %s
// Shouldn't crash!
// This is the minimized test that triggered an infinite recursion:

+(BOOL) onEntity {
}

-(const Object &) a_200 {
}

-(int) struct {
}

-(int) bar {
}

-(int) part {
}

+(some_type_t) piece {
}

+(void) z_Z_42 {
  ([self onEntity: [] { 42];
  } class: ^ {  }
];
  [super];
  BOOL struct;
}