forked from OSchip/llvm-project
11 lines
312 B
C++
11 lines
312 B
C++
// RUN: clang-format %s | FileCheck %s
|
|
// RUN: clang-format %s -sort-includes -style="{SortIncludes: false}" | FileCheck %s
|
|
// RUN: clang-format %s -sort-includes=false | FileCheck %s -check-prefix=NOT-SORTED
|
|
|
|
#include <b>
|
|
#include <a>
|
|
// CHECK: <a>
|
|
// CHECK-NEXT: <b>
|
|
// NOT-SORTED: <b>
|
|
// NOT-SORTED-NEXT: <a>
|