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
|
2010-09-12 02:05:19 +08:00
|
|
|
// RUN: rm %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
|
|
|
|
|
|
|
#warning parsing original file
|