xref: /llvm-project/clang/test/Misc/serialized-diags-empty-filename.c (revision d2bb3cbbf8bc3a1b3d27c5a89e7cdd56bdca924f)
1 // RUN: rm -f %t.diag
2 // RUN: not %clang -c %s --serialize-diagnostics %t.diag -o /dev/null
3 // RUN: c-index-test -read-diagnostics %t.diag 2>&1 | FileCheck %s
4 
5 # 1 "" 1
6 void 1();
7 
8 // CHECK: :1:6: error:
9