xref: /llvm-project/clang/test/Format/adjust-indent.cpp (revision f625a8a250b393b29a277ca790f6bc2fce7aa192)
1 // RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -lines=2:2 \
2 // RUN:   | FileCheck -strict-whitespace %s
3 
f()4 void  f() {
5 // CHECK: void f() {
6 int i;
7 // CHECK: {{^  int\ i;}}
8  int j;
9 // CHECK: {{^  int\ j;}}
10 }
11