blob: dde90bc60eceb207df6507308eae9b8594f72ea5 [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
Ted Kremenek1872b312011-10-27 17:55:18 +00006// RUN: test ! -e %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
Ted Kremenek2ce634d2011-10-27 21:50:13 +000010// REQUIRES: shell
Daniel Dunbarb1fd3452010-08-19 23:44:10 +000011
12#warning parsing original file