Clang Project

clang_source_code/test/Format/incomplete.cpp
1// RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=0 \
2// RUN:   | FileCheck -strict-whitespace %s
3// CHECK: {{"IncompleteFormat": true, "Line": 2}}
4// CHECK: {{^int\ \i;$}}
5 int    i;
6// CHECK: {{^f  \( g  \(;$}}
7f  ( g  (;
8