Use the new --crash option in commands that are expected to crash.
llvm-svn: 185679
This commit is contained in:
parent
91487584c9
commit
c8c995a2bd
|
|
@ -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-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
|
// The purpose of this test is to verify that various invalid PCH files are
|
||||||
// reported as such.
|
// reported as such.
|
||||||
|
|
|
||||||
|
|
@ -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
|
// REQUIRES: crash-recovery
|
||||||
|
|
||||||
#prag\
|
#prag\
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue