blob: 1aa9c9f3e2fad443e47a036dab1152e40b03050c [file] [log] [blame]
Alexander Kornienko3fbee012013-04-24 12:46:44 +00001// RUN: cp %s %t-1.cpp
2// RUN: cp %s %t-2.cpp
Rafael Espindola925213b2013-07-04 16:16:58 +00003// RUN: not clang-format 2>&1 >/dev/null -offset=1 -length=0 %t-1.cpp %t-2.cpp |FileCheck %s
Alexander Kornienkoa49732f2013-07-18 22:54:56 +00004// RUN: not clang-format 2>&1 >/dev/null -lines=1:1 %t-1.cpp %t-2.cpp |FileCheck %s -check-prefix=CHECK-LINE
5// CHECK: error: -offset, -length and -lines can only be used for single file.
6// CHECK-LINE: error: -offset, -length and -lines can only be used for single file.
Alexander Kornienko3fbee012013-04-24 12:46:44 +00007
8int i ;