Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Misc / serialized-diags-no-issue.c
blob675d33c1fe99cb3785cfe4d7a4c23a0612532c55
1 void foo(void);
3 // RUN: %clang -Wall -fsyntax-only %s --serialize-diagnostics %t
4 // RUN: c-index-test -read-diagnostics %t 2>&1 | FileCheck %s
5 // RUN: rm -f %t
7 // NOTE: it is important that this test case contains no issues. It tests
8 // that serialize diagnostics work in the absence of any issues.
10 // CHECK: Number of diagnostics: 0