diff options
Diffstat (limited to 'test/clang-include-fixer/yaml_fuzzy.cpp')
-rw-r--r-- | test/clang-include-fixer/yaml_fuzzy.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/clang-include-fixer/yaml_fuzzy.cpp b/test/clang-include-fixer/yaml_fuzzy.cpp new file mode 100644 index 00000000..9a3daacb --- /dev/null +++ b/test/clang-include-fixer/yaml_fuzzy.cpp @@ -0,0 +1,9 @@ +// RUN: sed -e 's#//.*$##' %s > %t.cpp +// RUN: clang-include-fixer -db=fuzzyYaml -input=%p/Inputs/fake_yaml_db.yaml %t.cpp -- +// RUN: FileCheck %s -input-file=%t.cpp + +// clang-include-fixer will add the include, but doesn't complete the symbol. +// CHECK: #include "foobar.h" +// CHECK: fba f; + +b::a::fba f; |