xref: /llvm-project/clang/test/Driver/crash-report-null.test (revision 87dbdd2e3bb63b681f8cc3179ef5c2d5929bbf61)
1// RUN: env FORCE_CLANG_DIAGNOSTICS_CRASH=1 not %clang -fsyntax-only -x c /dev/null -lstdc++ 2>&1 | FileCheck %s
2
3// FIXME: Investigating. "fatal error: file 'nul' modified since it was first processed"
4// UNSUPPORTED: system-windows
5
6// CHECK: PLEASE submit a bug report to {{.*}} and include the crash backtrace, preprocessed source, and associated run script.
7// CHECK: Preprocessed source(s) and associated run script(s) are located at:
8// CHECK-NEXT: note: diagnostic msg: {{.*}}null-{{.*}}.c
9