minix/external/bsd/llvm/dist/clang/test/Format/basic.cpp

7 lines
187 B
C++
Raw Normal View History

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