xref: /llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp (revision 487ab39a5082098f92e886de606505f25031a22a)
1 #include <string>
2 
main()3 int main()
4 {
5     std::wstring wempty(L"");
6     std::wstring s(L"hello world! מזל טוב!");
7     std::wstring S(L"!!!!");
8     const wchar_t *mazeltov = L"מזל טוב";
9     std::string empty("");
10     std::string q("hello world");
11     std::string Q("quite a long std::strin with lots of info inside it");
12     auto &rq = q, &rQ = Q;
13     std::string *pq = &q, *pQ = &Q;
14     S.assign(L"!!!!!"); // Set break point at this line.
15     return 0;
16 }
17