summaryrefslogtreecommitdiffstats
path: root/test/Format/adjust-indent.cpp
blob: 5565dc00b62d0b4f6ccd920e5610b3d94e001194 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -lines=2:2 \
// RUN:   | FileCheck -strict-whitespace %s

void  f() {
// CHECK: void f() {
int i;
// CHECK: {{^  int\ i;}}
 int j;
// CHECK: {{^  int\ j;}}
}