Douglas Gregor | 424668c | 2010-09-11 18:05:19 +0000 | [diff] [blame] | 1 | // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \ |
Daniel Dunbar | c1cf158 | 2010-08-19 19:40:40 +0000 | [diff] [blame] | 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 |
Douglas Gregor | 424668c | 2010-09-11 18:05:19 +0000 | [diff] [blame] | 6 | // RUN: rm %t-preamble.pch |
Daniel Dunbar | ea94bbc | 2010-08-18 23:09:31 +0000 | [diff] [blame] | 7 | // CHECK-REPARSE-SOURCE-CRASH: Unable to reparse translation unit |
| 8 | // |
Daniel Dunbar | db91864 | 2010-08-24 21:39:55 +0000 | [diff] [blame] | 9 | // REQUIRES: crash-recovery |
Daniel Dunbar | ea94bbc | 2010-08-18 23:09:31 +0000 | [diff] [blame] | 10 | |
| 11 | #warning parsing original file |