mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 08:57:43 +08:00
Use the new --crash option in commands that are expected to crash.
llvm-svn: 185679
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user