summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/crash-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/crash-report.c')
-rw-r--r--clang/test/Driver/crash-report.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Driver/crash-report.c b/clang/test/Driver/crash-report.c
new file mode 100644
index 00000000000..944581a1034
--- /dev/null
+++ b/clang/test/Driver/crash-report.c
@@ -0,0 +1,6 @@
+// RUN: %clang -fsyntax-only %s 2>&1 | FileCheck %s
+// REQUIRES: crash-recovery
+
+#pragma clang __debug parser_crash
+// CHECK: Preprocessed source(s) and associated run script(s) are located at:
+// CHECK-NEXT: clang-3: note: diagnostic msg: {{.*}}.c
OpenPOWER on IntegriCloud