9 lines · c
1// RUN: rm -f %t.diag2// RUN: not %clang -c %s --serialize-diagnostics %t.diag -o /dev/null3// RUN: c-index-test -read-diagnostics %t.diag 2>&1 | FileCheck %s4 5# 1 "" 16void 1();7 8// CHECK: :1:6: error:9 1// RUN: rm -f %t.diag2// RUN: not %clang -c %s --serialize-diagnostics %t.diag -o /dev/null3// RUN: c-index-test -read-diagnostics %t.diag 2>&1 | FileCheck %s4 5# 1 "" 16void 1();7 8// CHECK: :1:6: error:9