xref: /llvm-project/clang/test/CodeGenCXX/Inputs/cxx20-module-std-subst-2a.cpp (revision ae4dce8659f313ca2034782583d31993212fa8bd)
1*ae4dce86SNathan Sidwell module;
2*ae4dce86SNathan Sidwell # 5 __FILE__ 1
3*ae4dce86SNathan Sidwell namespace std {
4*ae4dce86SNathan Sidwell template <typename A> struct allocator {};
5*ae4dce86SNathan Sidwell template <typename C, typename T, typename A>
6*ae4dce86SNathan Sidwell class basic_string;
7*ae4dce86SNathan Sidwell } // namespace std
8*ae4dce86SNathan Sidwell # 12 "" 2
9*ae4dce86SNathan Sidwell export module RenameString;
10*ae4dce86SNathan Sidwell export template <typename C, typename T>
11*ae4dce86SNathan Sidwell using str = std::basic_string<C, T, std::allocator<C>>;
12