Douglas Gregor | 424668c | 2010-09-11 18:05:19 +0000 | [diff] [blame] | 1 | // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \ |
Daniel Dunbar | b1fd345 | 2010-08-19 23:44:10 +0000 | [diff] [blame] | 2 | // RUN: not c-index-test -code-completion-at=%s:20:1 \ |
Douglas Gregor | 2283d79 | 2010-08-20 00:59:43 +0000 | [diff] [blame] | 3 | // RUN: "-remap-file=%s;%S/Inputs/crash-recovery-code-complete-remap.c" \ |
Daniel Dunbar | b1fd345 | 2010-08-19 23:44:10 +0000 | [diff] [blame] | 4 | // RUN: %s 2> %t.err |
| 5 | // RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s |
Ted Kremenek | 1872b31 | 2011-10-27 17:55:18 +0000 | [diff] [blame] | 6 | // RUN: test ! -e %t-preamble.pch |
Douglas Gregor | 2283d79 | 2010-08-20 00:59:43 +0000 | [diff] [blame] | 7 | // CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion! |
Daniel Dunbar | b1fd345 | 2010-08-19 23:44:10 +0000 | [diff] [blame] | 8 | // |
Daniel Dunbar | db91864 | 2010-08-24 21:39:55 +0000 | [diff] [blame] | 9 | // REQUIRES: crash-recovery |
Daniel Dunbar | b1fd345 | 2010-08-19 23:44:10 +0000 | [diff] [blame] | 10 | |
NAKAMURA Takumi | 4d553c9 | 2013-03-25 23:49:11 +0000 | [diff] [blame] | 11 | // FIXME: Please investigate abnormal path in MemoryBuffer. |
| 12 | // XFAIL: mingw32,win32 |
| 13 | |
Daniel Dunbar | b1fd345 | 2010-08-19 23:44:10 +0000 | [diff] [blame] | 14 | #warning parsing original file |