| 1 | // RUN: sed -e 's#//.*$##' %s > %t.cpp |
|---|---|
| 2 | // RUN: clang-include-fixer -db=fixed -input='foo= "foo.h","bar.h"' %t.cpp -- |
| 3 | // RUN: FileCheck %s -input-file=%t.cpp |
| 4 | |
| 5 | // CHECK: #include "foo.h" |
| 6 | // CHECK: foo f; |
| 7 | |
| 8 | foo f; |
| 9 |
| 1 | // RUN: sed -e 's#//.*$##' %s > %t.cpp |
|---|---|
| 2 | // RUN: clang-include-fixer -db=fixed -input='foo= "foo.h","bar.h"' %t.cpp -- |
| 3 | // RUN: FileCheck %s -input-file=%t.cpp |
| 4 | |
| 5 | // CHECK: #include "foo.h" |
| 6 | // CHECK: foo f; |
| 7 | |
| 8 | foo f; |
| 9 |