// RUN: clang-format -output-replacements-xml -sort-includes %s > %t.xml
// RUN: FileCheck -strict-whitespace -input-file=%t.xml %s

// CHECK: <?xml
// CHECK-NEXT: {{<replacements.*incomplete_format='false'}}
// CHECK-NEXT: {{<replacement.*#include &lt;a>&#10;#include &lt;b><}}
// CHECK-NEXT: {{<replacement.*>&#10;<}}
// CHECK-NEXT: {{<replacement.*> <}}
#include <b>
#include <a>

int a;int*b;

Add test for (properly escaped) XML output.
clang-format: Add test for (properly escaped) XML output.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@250629 91177308-0d34-0410-b5e6-96231b3b80d8
