xref: /llvm-project/clang/test/Format/cursor.cpp (revision 7048edb104791e575fe109b7d8868760bc052b91)
1 // RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=6 \
2 // RUN:   | FileCheck -strict-whitespace %s
3 // CHECK: {{^\{ "Cursor": 3, }}
4 // CHECK: {{^int\ \i;$}}
5  int    i;
6