blob: cae4a08442fb07af98910166e836b94a39e5825d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
//===----------------------------------------------------------------------===//
//
// ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <string>
// basic_string& operator+=(initializer_list<charT> il);
#include <string>
#include <cassert>
int main()
{
#ifdef _LIBCPP_MOVE
{
std::string s("123");
s += {'a', 'b', 'c'};
assert(s == "123abc");
}
#endif
}
|