blob: dedb1f4d7ae7a1b56c371b4fb478bb34bfd03112 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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 ;
}
|