1 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \ 2 // RUN: not c-index-test -test-load-source-reparse 1 local \ 3 // RUN: -remap-file="%s;%S/Inputs/crash-recovery-reparse-remap.c" \ 4 // RUN: %s 2> %t.err 5 // RUN: FileCheck < %t.err -check-prefix=CHECK-REPARSE-SOURCE-CRASH %s 6 // RUN: test ! -e $t-preamble.pch 7 // CHECK-REPARSE-SOURCE-CRASH: Unable to reparse translation unit 8 // 9 // REQUIRES: crash-recovery 10 11 #warning parsing original file 12