cursor.cpp 232 B

123456
  1. // RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp
  2. // RUN: clang-format -style=LLVM %t2.cpp -cursor=6 > %t.cpp
  3. // RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s
  4. // CHECK: {{^\{ "Cursor": 4, }}
  5. // CHECK: {{^int\ \i;$}}
  6. int i;