| 1 | // RUN: clang-format %s | FileCheck %s |
|---|---|
| 2 | // RUN: clang-format %s -sort-includes -style="{SortIncludes: false}" | FileCheck %s |
| 3 | // RUN: clang-format %s -sort-includes=false | FileCheck %s -check-prefix=NOT-SORTED |
| 4 | |
| 5 | #include <b> |
| 6 | #include <a> |
| 7 | // CHECK: <a> |
| 8 | // CHECK-NEXT: <b> |
| 9 | // NOT-SORTED: <b> |
| 10 | // NOT-SORTED-NEXT: <a> |
| 11 |