summaryrefslogtreecommitdiff
path: root/clang/test/Index/crash-recovery-reparse.c
blob: 06bb76b7f251b8259485890e87b6e6a87b176006 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
// 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
// RUN: test ! -e $t-preamble.pch
// CHECK-REPARSE-SOURCE-CRASH: Unable to reparse translation unit
//
// REQUIRES: crash-recovery
// REQUIRES: shell

#warning parsing original file