diff options
Diffstat (limited to 'test/Index/crash-recovery-reparse.c')
-rw-r--r-- | test/Index/crash-recovery-reparse.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Index/crash-recovery-reparse.c b/test/Index/crash-recovery-reparse.c new file mode 100644 index 000000000000..e394bd18dfb5 --- /dev/null +++ b/test/Index/crash-recovery-reparse.c @@ -0,0 +1,10 @@ +// RUN: env CINDEXTEST_EDITING=1 \ +// RUN: not c-index-test -test-load-source-reparse 1 local \ +// RUN: -remap-file="%s;%S/Inputs/crash-recovery-reparse-remap.c" \ +// RUN: %s 2> %t.err +// RUN: FileCheck < %t.err -check-prefix=CHECK-REPARSE-SOURCE-CRASH %s +// CHECK-REPARSE-SOURCE-CRASH: Unable to reparse translation unit +// +// REQUIRES: crash-recovery + +#warning parsing original file |