forked from OSchip/llvm-project
13 lines
375 B
C++
13 lines
375 B
C++
// RUN: clang-format -output-replacements-xml -sort-includes %s \
|
|
// RUN: | FileCheck -strict-whitespace %s
|
|
|
|
// CHECK: <?xml
|
|
// CHECK-NEXT: {{<replacements.*incomplete_format='false'}}
|
|
// CHECK-NEXT: {{<replacement.*#include <a> #include <b><}}
|
|
// CHECK-NEXT: {{<replacement.*> <}}
|
|
// CHECK-NEXT: {{<replacement.*> <}}
|
|
#include <b>
|
|
#include <a>
|
|
|
|
int a;int*b;
|