blob: 5c7da8267db9dc4643e2c021f820c5703dd5165e [file] [log] [blame]
Ted Kremeneka7e8a832011-11-11 00:46:43 +00001void foo();
2
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
6
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.
9
10// CHECK: Number of diagnostics: 0