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" \
5 // RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s
6 // RUN: test ! -e %t-preamble.pch
7 // CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion!
9 // REQUIRES: crash-recovery
11 // FIXME: Please investigate abnormal path in MemoryBuffer.
12 // REQUIRES: can-remove-opened-file
13 // UNSUPPORTED: libstdcxx-safe-mode
15 #warning parsing original file