summaryrefslogtreecommitdiffstats
path: root/test/Index/crash-recovery-code-complete.c
blob: 9cad985364f8b0317eebbae8a22d3051c7d2496e (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
// RUN:   not c-index-test -code-completion-at=%s:20:1 \
// RUN:   "-remap-file=%s;%S/Inputs/crash-recovery-code-complete-remap.c" \
// RUN:   %s 2> %t.err
// RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s
// RUN: rm %t-preamble.pch
// CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion!
//
// REQUIRES: crash-recovery

#warning parsing original file
OpenPOWER on IntegriCloud