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