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.
15 lines
345 B
15 lines
345 B
// 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 ;
|
|
}
|