2012-06-03 02:20:16 +08:00
|
|
|
// RUN: rm -f %t.c
|
2012-06-03 02:08:09 +08:00
|
|
|
// RUN: touch %t.c
|
|
|
|
// RUN: c-index-test -write-pch %t.pch %t.c
|
|
|
|
// RUN: cp %s %t.c
|
2013-07-05 00:16:58 +08:00
|
|
|
// RUN: not c-index-test -test-load-tu %t.pch local 2>&1 | FileCheck %s
|
2012-06-03 02:08:09 +08:00
|
|
|
|
|
|
|
// rdar://11558355
|
|
|
|
// Unfortunately this would crash reliably only via valgrind.
|
|
|
|
|
|
|
|
// CHECK: Unable to load translation unit
|