2010-09-12 02:05:19 +08:00
|
|
|
// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
|
2010-08-20 07:44:10 +08:00
|
|
|
// RUN: not c-index-test -code-completion-at=%s:20:1 \
|
2010-08-20 08:59:43 +08:00
|
|
|
// RUN: "-remap-file=%s;%S/Inputs/crash-recovery-code-complete-remap.c" \
|
2010-08-20 07:44:10 +08:00
|
|
|
// RUN: %s 2> %t.err
|
|
|
|
// RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s
|
2011-10-28 01:55:18 +08:00
|
|
|
// RUN: test ! -e %t-preamble.pch
|
2010-08-20 08:59:43 +08:00
|
|
|
// CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion!
|
2010-08-20 07:44:10 +08:00
|
|
|
//
|
2010-08-25 05:39:55 +08:00
|
|
|
// REQUIRES: crash-recovery
|
2010-08-20 07:44:10 +08:00
|
|
|
|
2013-03-26 07:49:11 +08:00
|
|
|
// FIXME: Please investigate abnormal path in MemoryBuffer.
|
|
|
|
// XFAIL: mingw32,win32
|
|
|
|
|
2010-08-20 07:44:10 +08:00
|
|
|
#warning parsing original file
|