Clang Project

clang_source_code/test/clang-rename/IncludeHeaderWithSymbol.cpp
1#include "Inputs/HeaderWithSymbol.h"
2
3int main() {
4  return 0; // CHECK: {{^  return 0;}}
5}
6
7// Test 1.
8// The file IncludeHeaderWithSymbol.cpp doesn't contain the symbol Foo
9// and is expected to be written to stdout without modifications
10// RUN: clang-rename -qualified-name=Foo -new-name=Bar %s -- | FileCheck %s
11