From 809500fc2c13c8173a16b052304d983864e4a1e1 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 8 Apr 2013 18:45:10 +0000 Subject: Vendor import of clang trunk r178860: http://llvm.org/svn/llvm-project/cfe/trunk@178860 --- test/Format/basic.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/Format/basic.cpp (limited to 'test/Format/basic.cpp') diff --git a/test/Format/basic.cpp b/test/Format/basic.cpp new file mode 100644 index 0000000000000..375bbd2ec71ad --- /dev/null +++ b/test/Format/basic.cpp @@ -0,0 +1,6 @@ +// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp +// RUN: clang-format -i %t.cpp +// RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s + +// CHECK: {{^int\ \*i;}} + int * i ; -- cgit v1.2.3