[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Format / disable-include-sorting.cpp
blob2e9d378c283b7d9c479246560a3ec86c08718e33
1 // RUN: clang-format %s -style=LLVM | 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
5 #include <b>
6 #include <a>
7 // CHECK: <a>
8 // CHECK-NEXT: <b>
9 // NOT-SORTED: <b>
10 // NOT-SORTED-NEXT: <a>