llvm-project/clang-tools-extra/test/include-fixer/fixeddb.cpp

10 lines
219 B
C++
Raw Normal View History

// REQUIRES: shell
// RUN: sed -e 's#//.*$##' %s > %t.cpp
// RUN: clang-include-fixer -input='foo= "foo.h","bar.h"' %t.cpp --
// RUN: FileCheck %s -input-file=%t.cpp
// CHECK: #include "foo.h"
// CHECK: foo f;
foo f;