2015-10-20 00:21:29 +08:00
|
|
|
// RUN: grep -Ev "// *[A-Z-]+:" %s \
|
|
|
|
// RUN: | clang-format -style=LLVM -offset=2 -length=0 -offset=28 -length=0 \
|
|
|
|
// RUN: | FileCheck -strict-whitespace %s
|
2013-03-25 17:14:25 +08:00
|
|
|
// CHECK: {{^int\ \*i;$}}
|
2015-10-28 09:08:22 +08:00
|
|
|
int*i;
|
2013-03-25 17:14:25 +08:00
|
|
|
|
2015-10-28 09:08:22 +08:00
|
|
|
// CHECK: {{^int\ \ \*\ \ i;$}}
|
|
|
|
int * i;
|
2013-03-25 17:14:25 +08:00
|
|
|
|
2015-10-28 09:08:22 +08:00
|
|
|
// CHECK: {{^int\ \*i;$}}
|
|
|
|
int * i;
|