xref: /minix3/external/bsd/llvm/dist/clang/test/Format/cursor.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp
2*f4a2713aSLionel Sambuc // RUN: clang-format -style=LLVM %t2.cpp -cursor=6 > %t.cpp
3*f4a2713aSLionel Sambuc // RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s
4*f4a2713aSLionel Sambuc // CHECK: {{^\{ "Cursor": 4 \}$}}
5*f4a2713aSLionel Sambuc // CHECK: {{^int\ \i;$}}
6*f4a2713aSLionel Sambuc  int    i;
7