blob: 9cad985364f8b0317eebbae8a22d3051c7d2496e [file] [log] [blame]
Douglas Gregor424668c2010-09-11 18:05:19 +00001// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
Daniel Dunbarb1fd3452010-08-19 23:44:10 +00002// RUN: not c-index-test -code-completion-at=%s:20:1 \
Douglas Gregor2283d792010-08-20 00:59:43 +00003// RUN: "-remap-file=%s;%S/Inputs/crash-recovery-code-complete-remap.c" \
Daniel Dunbarb1fd3452010-08-19 23:44:10 +00004// RUN: %s 2> %t.err
5// RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s
Douglas Gregor424668c2010-09-11 18:05:19 +00006// RUN: rm %t-preamble.pch
Douglas Gregor2283d792010-08-20 00:59:43 +00007// CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion!
Daniel Dunbarb1fd3452010-08-19 23:44:10 +00008//
Daniel Dunbardb918642010-08-24 21:39:55 +00009// REQUIRES: crash-recovery
Daniel Dunbarb1fd3452010-08-19 23:44:10 +000010
11#warning parsing original file