2019-07-12 23:56:18 +08:00
|
|
|
// RUN: clang-format -style=LLVM -output-replacements-xml -sort-includes %s \
|
2015-10-20 00:21:29 +08:00
|
|
|
// RUN: | FileCheck -strict-whitespace %s
|
2015-10-18 06:44:19 +08:00
|
|
|
|
|
|
|
// 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;
|