diff options
Diffstat (limited to 'test/clang-rename/IncludeHeaderWithSymbol.cpp')
-rw-r--r-- | test/clang-rename/IncludeHeaderWithSymbol.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/clang-rename/IncludeHeaderWithSymbol.cpp b/test/clang-rename/IncludeHeaderWithSymbol.cpp new file mode 100644 index 000000000000..cb2baee57b89 --- /dev/null +++ b/test/clang-rename/IncludeHeaderWithSymbol.cpp @@ -0,0 +1,10 @@ +#include "Inputs/HeaderWithSymbol.h" + +int main() { + return 0; // CHECK: {{^ return 0;}} +} + +// Test 1. +// The file IncludeHeaderWithSymbol.cpp doesn't contain the symbol Foo +// and is expected to be written to stdout without modifications +// RUN: clang-rename -qualified-name=Foo -new-name=Bar %s -- | FileCheck %s |