summaryrefslogtreecommitdiffstats
path: root/test/Driver/crash-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/crash-report.c')
-rw-r--r--test/Driver/crash-report.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Driver/crash-report.c b/test/Driver/crash-report.c
index bfcd573..975e9a8 100644
--- a/test/Driver/crash-report.c
+++ b/test/Driver/crash-report.c
@@ -9,6 +9,8 @@
// RUN: cat %t/crash-report-*.sh | FileCheck --check-prefix=CHECKSH %s
// REQUIRES: crash-recovery
+// RUN: env FORCE_CLANG_DIAGNOSTICS_CRASH=1 %clang -fsyntax-only -x c /dev/null 2>&1 | FileCheck %s
+
#pragma clang __debug parser_crash
// CHECK: Preprocessed source(s) and associated run script(s) are located at:
// CHECK-NEXT: note: diagnostic msg: {{.*}}.c
OpenPOWER on IntegriCloud