android_mt6572_jiabo/external/clang/test/Format/adjust-indent.cpp
2025-09-05 16:56:03 +08:00

10 lines
208 B
C++

// 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;}}
}