diff options
Diffstat (limited to 'clang/test/Format/dry-run.cpp')
-rw-r--r-- | clang/test/Format/dry-run.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Format/dry-run.cpp b/clang/test/Format/dry-run.cpp new file mode 100644 index 00000000000..78498a6bdfb --- /dev/null +++ b/clang/test/Format/dry-run.cpp @@ -0,0 +1,4 @@ +// RUN: clang-format -style=LLVM -i --dry-run %s 2> %t.stderr +// RUN: grep -E "(.*)code should be clang-formatted(.*)" %t.stderr + +int a ; |