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

