forked from OSchip/llvm-project
15 lines
345 B
C++
15 lines
345 B
C++
// RUN: grep -Ev "// *[A-Z-]+:" %s \
|
|
// RUN: | clang-format -style="{BasedOnStyle: LLVM, SortIncludes: true}" -lines=1:5 \
|
|
// RUN: | FileCheck -strict-whitespace %s
|
|
// CHECK: {{^#include\ <a>$}}
|
|
#include <a>
|
|
// CHECK: {{^#include\ <b>$}}
|
|
#include <b>
|
|
#include <a>
|
|
#include <b>
|
|
#include <b>
|
|
{
|
|
// CHECK: {{^\ \ int x\ \ ;$}}
|
|
int x ;
|
|
}
|