Clang Project

clang_source_code/test/Format/multiple-inputs-inplace.cpp
1// RUN: cp %s %t-1.cpp
2// RUN: cp %s %t-2.cpp
3// RUN: clang-format -style=LLVM -i %t-1.cpp %t-2.cpp
4// RUN: FileCheck -strict-whitespace -input-file=%t-1.cpp %s
5// RUN: FileCheck -strict-whitespace -input-file=%t-2.cpp %s
6
7// CHECK: {{^int\ \*i;}}
8 int   *  i  ;
9