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