You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
375 B

// 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 &lt;a>&#10;#include &lt;b><}}
// CHECK-NEXT: {{<replacement.*>&#10;<}}
// CHECK-NEXT: {{<replacement.*> <}}
#include <b>
#include <a>
int a;int*b;