xref: /llvm-project/clang-tools-extra/test/clang-include-fixer/yaml_fuzzy.cpp (revision 43356f56bd2ede05c70db537e3f8b50a31444487)
1*43356f56SNico Weber // RUN: sed -e 's#//.*$##' %s > %t.cpp
2*43356f56SNico Weber // RUN: clang-include-fixer -db=fuzzyYaml -input=%p/Inputs/fake_yaml_db.yaml %t.cpp --
3*43356f56SNico Weber // RUN: FileCheck %s -input-file=%t.cpp
4*43356f56SNico Weber 
5*43356f56SNico Weber // clang-include-fixer will add the include, but doesn't complete the symbol.
6*43356f56SNico Weber // CHECK: #include "foobar.h"
7*43356f56SNico Weber // CHECK: fba f;
8*43356f56SNico Weber 
9*43356f56SNico Weber b::a::fba f;
10