summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/include-fixer/yamldb.cpp
blob: ae2bfb814d2082c550fa57d416a9024c652e35ba (plain)
1
2
3
4
5
6
7
8
9
// REQUIRES: shell
// RUN: sed -e 's#//.*$##' %s > %t.cpp
// RUN: clang-include-fixer -db=yaml -input=%p/Inputs/fake_yaml_db.yaml %t.cpp --
// RUN: FileCheck %s -input-file=%t.cpp

// CHECK: #include "foo.h"
// CHECK: b::a::foo f;

b::a::foo f;
OpenPOWER on IntegriCloud