Argyrios Kyrtzidis | ea173ff | 2012-06-02 18:20:16 +0000 | [diff] [blame] | 1 | // RUN: rm -f %t.c |
Argyrios Kyrtzidis | 3c9aaf1 | 2012-06-02 18:08:09 +0000 | [diff] [blame] | 2 | // RUN: touch %t.c |
| 3 | // RUN: c-index-test -write-pch %t.pch %t.c |
| 4 | // RUN: cp %s %t.c |
Rafael Espindola | 925213b | 2013-07-04 16:16:58 +0000 | [diff] [blame] | 5 | // RUN: not c-index-test -test-load-tu %t.pch local 2>&1 | FileCheck %s |
Argyrios Kyrtzidis | 3c9aaf1 | 2012-06-02 18:08:09 +0000 | [diff] [blame] | 6 | |
| 7 | // rdar://11558355 |
| 8 | // Unfortunately this would crash reliably only via valgrind. |
| 9 | |
| 10 | // CHECK: Unable to load translation unit |