blob: dedb1f4d7ae7a1b56c371b4fb478bb34bfd03112 [file] [log] [blame]
Eric Liua992afe2016-08-10 09:32:23 +00001// RUN: grep -Ev "// *[A-Z-]+:" %s \
2// RUN: | clang-format -style="{BasedOnStyle: LLVM, SortIncludes: true}" -lines=1:5 \
3// RUN: | FileCheck -strict-whitespace %s
4// CHECK: {{^#include\ <a>$}}
5#include <a>
6// CHECK: {{^#include\ <b>$}}
7#include <b>
8#include <a>
9#include <b>
10#include <b>
11{
12// CHECK: {{^\ \ int x\ \ ;$}}
13 int x ;
14}