blob: 243a914ec40dbbc7bf5fdfba77830f3c092f2542 [file] [log] [blame]
Douglas Gregor424668c2010-09-11 18:05:19 +00001// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
Daniel Dunbarc1cf1582010-08-19 19:40:40 +00002// 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
Douglas Gregor424668c2010-09-11 18:05:19 +00006// RUN: rm %t-preamble.pch
Daniel Dunbarea94bbc2010-08-18 23:09:31 +00007// CHECK-REPARSE-SOURCE-CRASH: Unable to reparse translation unit
8//
Daniel Dunbardb918642010-08-24 21:39:55 +00009// REQUIRES: crash-recovery
Daniel Dunbarea94bbc2010-08-18 23:09:31 +000010
11#warning parsing original file