summaryrefslogtreecommitdiffstats
path: root/test/Driver/crash-report-null.test
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-10-21 05:13:09 +0000
committerJustin Bogner <mail@justinbogner.com>2014-10-21 05:13:09 +0000
commit5bec154e58ec89f6bbda531155d2a41799bf94a5 (patch)
treeee82cb250daef98b4947c085f189d67b111b95ed /test/Driver/crash-report-null.test
parentbb7c5935b2f0b287957a40909fdcf1bd779c6d57 (diff)
Driver: Tighten up crash report tests
These tests were a little bit too flexible in terms of filenames. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220265 91177308-0d34-0410-b5e6-96231b3b80d8
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 0000000000..477dd28df3
--- /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