1 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \ 2 // RUN: not c-index-test -code-completion-at=%s:20:1 \ 3 // RUN: "-remap-file=%s;%S/Inputs/crash-recovery-code-complete-remap.c" \ 4 // RUN: %s 2> %t.err 5 // RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s 6 // RUN: rm %t-preamble.pch 7 // CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion! 8 // 9 // REQUIRES: crash-recovery 10 11 #warning parsing original file 12