hanchenye-llvm-project/clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp

4 lines
197 B
C++

// RUN: clang-tidy -checks=-*,llvm-namespace-comment %s -- -serialize-diagnostics %t | FileCheck %s
// CHECK: :[[@LINE+1]]:12: error: expected ';' after struct [clang-diagnostic-error]
struct A {}