llvm-project/clang-tools-extra/test/clang-tidy/basic.cpp

6 lines
189 B
C++

// RUN: clang-tidy %s -checks='-*,llvm-namespace-comment' -- | FileCheck %s
namespace i {
}
// CHECK: warning: namespace 'i' not terminated with a closing comment [llvm-namespace-comment]