aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/crash-report-null.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/crash-report-null.test')
-rw-r--r--test/Driver/crash-report-null.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/crash-report-null.test b/test/Driver/crash-report-null.test
new file mode 100644
index 000000000000..477dd28df3ed
--- /dev/null
+++ b/test/Driver/crash-report-null.test
@@ -0,0 +1,7 @@
+// RUN: not env FORCE_CLANG_DIAGNOSTICS_CRASH=1 %clang -fsyntax-only -x c /dev/null -lstdc++ 2>&1 | FileCheck %s
+
+// FIXME: Investigating. "fatal error: file 'nul' modified since it was first processed"
+// XFAIL: mingw32
+
+// CHECK: Preprocessed source(s) and associated run script(s) are located at:
+// CHECK-NEXT: note: diagnostic msg: {{.*}}null-{{.*}}.c