Make test check position independent as they sometimes come out reversed. NFCI.

llvm-svn: 371904
This commit is contained in:
Douglas Yung 2019-09-13 22:12:27 +00:00
parent ee30b0ecc2
commit 8607b93eab
1 changed files with 2 additions and 2 deletions

View File

@ -31,5 +31,5 @@ void test() {
// ...and with module building successful.
// RUN: env CINDEXTEST_FAILONERROR=1 not c-index-test -test-load-source all -fmodules -fmodules-cache-path=%t -Xclang -fdisable-module-hash -I %S/Inputs/Headers -DLIBCLANG_CRASH %s > /dev/null 2> %t.err
// RUN: FileCheck < %t.err -check-prefix=CHECK-LIBCLANG-CRASH %s
// CHECK-LIBCLANG-CRASH: libclang: crash detected during parsing
// CHECK-LIBCLANG-CRASH: Unable to load translation unit!
// CHECK-LIBCLANG-CRASH-DAG: libclang: crash detected during parsing
// CHECK-LIBCLANG-CRASH-DAG: Unable to load translation unit!