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