diff options
Diffstat (limited to 'test/Format/disable-format.cpp')
-rw-r--r-- | test/Format/disable-format.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Format/disable-format.cpp b/test/Format/disable-format.cpp new file mode 100644 index 0000000..59484b3 --- /dev/null +++ b/test/Format/disable-format.cpp @@ -0,0 +1,6 @@ +// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp +// RUN: clang-format -style=none -i %t.cpp +// RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s + +// CHECK: int i; +int i; |