Use the new --crash option in commands that are expected to crash.

llvm-svn: 185679
This commit is contained in:
Rafael Espindola 2013-07-05 02:53:30 +00:00
parent 91487584c9
commit c8c995a2bd
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// RUN: not %clang_cc1 -fsyntax-only -include-pch %S/Inputs/badpch-empty.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-EMPTY %s
// RUN: not %clang_cc1 -fsyntax-only -include-pch %S/Inputs/badpch-dir.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-DIR %s
// RUN: not --crash %clang_cc1 -fsyntax-only -include-pch %S/Inputs/badpch-dir.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-DIR %s
// The purpose of this test is to verify that various invalid PCH files are
// reported as such.

View File

@ -1,4 +1,4 @@
// RUN: not %clang_cc1 %s 2>&1 | FileCheck %s
// RUN: not --crash %clang_cc1 %s 2>&1 | FileCheck %s
// REQUIRES: crash-recovery
#prag\