aboutsummaryrefslogtreecommitdiff
path: root/test/Format/multiple-inputs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Format/multiple-inputs.cpp')
-rw-r--r--test/Format/multiple-inputs.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Format/multiple-inputs.cpp b/test/Format/multiple-inputs.cpp
new file mode 100644
index 0000000000..df267149fe
--- /dev/null
+++ b/test/Format/multiple-inputs.cpp
@@ -0,0 +1,7 @@
+// RUN: cp %s %t-1.cpp
+// RUN: cp %s %t-2.cpp
+// RUN: clang-format -style=LLVM %t-1.cpp %t-2.cpp|FileCheck -strict-whitespace %s
+
+// CHECK: {{^int\ \*i;}}
+// CHECK: {{^int\ \*i;}}
+ int * i ;