diff options
Diffstat (limited to 'clang/test/Format/incomplete.cpp')
-rw-r--r-- | clang/test/Format/incomplete.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Format/incomplete.cpp b/clang/test/Format/incomplete.cpp new file mode 100644 index 00000000000..ade38b66a39 --- /dev/null +++ b/clang/test/Format/incomplete.cpp @@ -0,0 +1,8 @@ +// RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp +// RUN: clang-format -style=LLVM %t2.cpp > %t.cpp +// RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s +// CHECK: {{^\{ "IncompleteFormat": true }} +// CHECK: {{^int\ \i;$}} + int i; +// CHECK: {{^f \( g \(;$}} +f ( g (; |