//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // basic_string(initializer_list il, const Allocator& a = Allocator()); #include #include #include "../test_allocator.h" int main() { #ifdef _LIBCPP_MOVE { std::string s = {'a', 'b', 'c'}; assert(s == "abc"); } { std::wstring s; s = {L'a', L'b', L'c'}; assert(s == L"abc"); } #endif }