aboutsummaryrefslogblamecommitdiff
path: root/test/Format/line-ranges.cpp
blob: e81e9624344d014d7a4facf5ae3fc72d6eb525c2 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                            


                         

                               
 

                         
// RUN: grep -Ev "// *[A-Z-]+:" %s \
// RUN:   | clang-format -style=LLVM -lines=1:1 -lines=5:5 \
// RUN:   | FileCheck -strict-whitespace %s
// CHECK: {{^int\ \*i;$}}
  int*i;

// CHECK: {{^int\ \ \*\ \ i;$}}
int  *  i; 

// CHECK: {{^int\ \*i;$}}
int   *   i;