summaryrefslogtreecommitdiff
path: root/test/clang-rename/Typedef.cpp
blob: 64d337fae22c7966046aa0f12b915d2fdefc6f9a (plain)
1
2
3
4
5
6
7
8
namespace std {
class basic_string {};
typedef basic_string string;
} // namespace std

std::string foo(); //  // CHECK: std::new_string foo();

// RUN: clang-rename -offset=93 -new-name=new_string %s --  | sed 's,//.*,,' | FileCheck %s