llvm-for-llvmta/tools/clang/test/Format/cursor.cpp

6 lines
186 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=6 \
// RUN: | FileCheck -strict-whitespace %s
// CHECK: {{^\{ "Cursor": 3, }}
// CHECK: {{^int\ \i;$}}
int i;