diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:47:56 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:47:56 +0000 |
| commit | 5e20cdd81c44a443562a09007668ffdf76c455af (patch) | |
| tree | dbbd4047878da71c1a706e26ce05b4e7791b14cc /test/Format/incomplete.cpp | |
| parent | d5f23b0b7528b5c3caed1ba14f897cc4aaa9e3c3 (diff) | |
Notes
Diffstat (limited to 'test/Format/incomplete.cpp')
| -rw-r--r-- | test/Format/incomplete.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Format/incomplete.cpp b/test/Format/incomplete.cpp new file mode 100644 index 000000000000..bd2c74ca3c17 --- /dev/null +++ b/test/Format/incomplete.cpp @@ -0,0 +1,8 @@ +// RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp +// RUN: clang-format -style=LLVM %t2.cpp -cursor=0 > %t.cpp +// RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s +// CHECK: {{"IncompleteFormat": true}} +// CHECK: {{^int\ \i;$}} + int i; +// CHECK: {{^f \( g \(;$}} +f ( g (; |
