Alexander Kornienko | 4cdc0cd | 2013-04-24 12:46:44 +0000 | [diff] [blame] | 1 | // RUN: cp %s %t-1.cpp |
| 2 | // RUN: cp %s %t-2.cpp |
Rafael Espindola | 96e7813 | 2013-07-04 16:16:58 +0000 | [diff] [blame] | 3 | // RUN: not clang-format 2>&1 >/dev/null -offset=1 -length=0 %t-1.cpp %t-2.cpp |FileCheck %s |
Alexander Kornienko | d95f88a | 2013-07-18 22:54:56 +0000 | [diff] [blame] | 4 | // 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 Kornienko | 4cdc0cd | 2013-04-24 12:46:44 +0000 | [diff] [blame] | 7 | |
| 8 | int i ; |