incomplete.cpp 279 B

12345678
  1. // RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp
  2. // RUN: clang-format -style=LLVM %t2.cpp -cursor=0 > %t.cpp
  3. // RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s
  4. // CHECK: {{"IncompleteFormat": true}}
  5. // CHECK: {{^int\ \i;$}}
  6. int i;
  7. // CHECK: {{^f \( g \(;$}}
  8. f ( g (;