summaryrefslogtreecommitdiff
path: root/test/clang-rename/IncludeHeaderWithSymbol.cpp
blob: cb2baee57b89328515a3e502b958fc2facbadf68 (plain) (blame)
1
2
3
4
5
6
7
8
9
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