1 // RUN: export LSAN_OPTIONS=detect_leaks=0
2 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
3 // RUN: not c-index-test -code-completion-at=%s:20:1 \
4 // RUN: "-remap-file=%s,%S/Inputs/crash-recovery-code-complete-remap.c" \
6 // RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s
7 // RUN: test ! -e %t-preamble.pch
8 // CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion!
10 // REQUIRES: crash-recovery
12 // FIXME: Please investigate abnormal path in MemoryBuffer.
13 // REQUIRES: can-remove-opened-file
14 // UNSUPPORTED: libstdcxx-safe-mode
16 #warning parsing original file