Differential D47360 Diff 219818 test/std/utilities/utility/mem.res/mem.res.aliases/header_string_synop2.pass.cpp
Changeset View
Changeset View
Standalone View
Standalone View
test/std/utilities/utility/mem.res/mem.res.aliases/header_string_synop2.pass.cpp
- This file was added.
//===----------------------------------------------------------------------===// | |||||
// | |||||
// The LLVM Compiler Infrastructure | |||||
// | |||||
// This file is dual licensed under the MIT and the University of Illinois Open | |||||
// Source Licenses. See LICENSE.TXT for details. | |||||
// | |||||
//===----------------------------------------------------------------------===// | |||||
// REQUIRES: c++17 | |||||
// <string> | |||||
// namespace std::pmr { | |||||
// | |||||
// typedef ... string | |||||
// typedef ... u16string | |||||
// typedef ... u32string | |||||
// typedef ... wstring | |||||
// | |||||
// } // namespace std::pmr | |||||
#include <string> | |||||
int main(int, char**) | |||||
{ | |||||
{ | |||||
// Check that std::pmr::string is usable without <memory_resource>. | |||||
std::pmr::string s; | |||||
std::pmr::wstring ws; | |||||
std::pmr::u16string u16s; | |||||
std::pmr::u32string u32s; | |||||
} | |||||
return 0; | |||||
} |