2010-08-19 02:43:17 +08:00
|
|
|
// RUN: not c-index-test -test-load-source all %s 2> %t.err
|
|
|
|
// RUN: FileCheck < %t.err -check-prefix=CHECK-LOAD-SOURCE-CRASH %s
|
|
|
|
// CHECK-LOAD-SOURCE-CRASH: Unable to load translation unit
|
2013-11-27 13:50:55 +08:00
|
|
|
// RUN: env LIBCLANG_DISABLE_CRASH_RECOVERY=1 not --crash c-index-test -test-load-source all %s
|
2010-08-19 02:43:17 +08:00
|
|
|
//
|
2010-08-25 05:39:55 +08:00
|
|
|
// REQUIRES: crash-recovery
|
2010-08-19 02:43:17 +08:00
|
|
|
|
|
|
|
#pragma clang __debug crash
|