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 \
|
2013-12-06 04:13:27 +08:00
|
|
|
// RUN: -remap-file="%s,%S/Inputs/crash-recovery-reparse-remap.c" \
|
2010-08-20 03:40:40 +08:00
|
|
|
// RUN: %s 2> %t.err
|
|
|
|
// RUN: FileCheck < %t.err -check-prefix=CHECK-REPARSE-SOURCE-CRASH %s
|
2011-10-28 01:55:18 +08:00
|
|
|
// RUN: test ! -e $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
|