hanchenye-llvm-project/clang/test/Format/disable-format.cpp

7 lines
175 B
C++

// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
// RUN: clang-format -style=none -i %t.cpp
// RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s
// CHECK: int i;
int i;