xref: /minix3/external/bsd/llvm/dist/clang/test/Format/cursor.cpp (revision eda6f5931d42c77e1480347b1fc3eef2f8d33806)
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;
7