diff options
Diffstat (limited to 'test/clang-include-fixer/prefix_variable.cpp')
-rw-r--r-- | test/clang-include-fixer/prefix_variable.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/clang-include-fixer/prefix_variable.cpp b/test/clang-include-fixer/prefix_variable.cpp new file mode 100644 index 00000000..b39cdb8d --- /dev/null +++ b/test/clang-include-fixer/prefix_variable.cpp @@ -0,0 +1,10 @@ +// 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-NOT: #include +// CHECK: doesnotexist f; + +namespace b { +doesnotexist f; +} |