llvm-for-llvmta/tools/clang/test/Format/incomplete.cpp

8 lines
244 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=0 \
// RUN: | FileCheck -strict-whitespace %s
// CHECK: {{"IncompleteFormat": true, "Line": 2}}
// CHECK: {{^int\ \i;$}}
int i;
// CHECK: {{^f \( g \(;$}}
f ( g (;