Run list debug copy test in C++03.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
// <list>
|
||||
|
||||
// list(list&& c);
|
||||
@@ -22,7 +20,8 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
std::list<int> l1 = {1, 2, 3};
|
||||
std::list<int> l1;
|
||||
l1.push_back(1); l1.push_back(2); l1.push_back(3);
|
||||
std::list<int>::iterator i = l1.begin();
|
||||
std::list<int> l2 = l1;
|
||||
l2.erase(i);
|
||||
|
||||
Reference in New Issue
Block a user