2010-09-12 02:05:19 +08:00
|
|
|
// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
|
2010-08-20 03:40:40 +08:00
|
|
|
// RUN: not c-index-test -test-load-source-reparse 1 local \
|
|
|
|
// RUN: -remap-file="%s;%S/Inputs/crash-recovery-reparse-remap.c" \
|
|
|
|
// RUN: %s 2> %t.err
|
|
|
|
// RUN: FileCheck < %t.err -check-prefix=CHECK-REPARSE-SOURCE-CRASH %s
|
2010-09-12 02:05:19 +08:00
|
|
|
// RUN: rm %t-preamble.pch
|
2010-08-19 07:09:31 +08:00
|
|
|
// CHECK-REPARSE-SOURCE-CRASH: Unable to reparse translation unit
|
|
|
|
//
|
2010-08-25 05:39:55 +08:00
|
|
|
// REQUIRES: crash-recovery
|
2010-08-19 07:09:31 +08:00
|
|
|
|
|
|
|
#warning parsing original file
|