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
|
2017-04-15 13:53:49 +08:00
|
|
|
// UNSUPPORTED: libstdcxx-safe-mode
|
2010-08-19 02:43:17 +08:00
|
|
|
|
|
|
|
#pragma clang __debug crash
|