blob: d3c5254fc3146451693c108b8c56441368a0be8b [file] [log] [blame]
Daniel Jasper148f3292015-10-17 22:44:19 +00001// RUN: clang-format -output-replacements-xml -sort-includes %s > %t.xml
2// RUN: FileCheck -strict-whitespace -input-file=%t.xml %s
3
4// CHECK: <?xml
5// CHECK-NEXT: {{<replacements.*incomplete_format='false'}}
6// CHECK-NEXT: {{<replacement.*#include &lt;a>&#10;#include &lt;b><}}
7// CHECK-NEXT: {{<replacement.*>&#10;<}}
8// CHECK-NEXT: {{<replacement.*> <}}
9#include <b>
10#include <a>
11
12int a;int*b;