]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Format/line-ranges.cpp
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / Format / line-ranges.cpp
1 // RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
2 // RUN: clang-format -style=LLVM -lines=1:1 -lines=5:5 -i %t.cpp
3 // RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s
4 // CHECK: {{^int\ \*i;$}}
5   int*i;
6
7 // CHECK: {{^\ \ int\ \ \*\ \ i;$}}
8   int  *  i; 
9
10 // CHECK: {{^\ \ int\ \*i;$}}
11   int   *   i;