diff options
-rw-r--r-- | libcxx/test/libcxx/containers/sequences/list/list.cons/db_copy.pass.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libcxx/test/libcxx/containers/sequences/list/list.cons/db_copy.pass.cpp b/libcxx/test/libcxx/containers/sequences/list/list.cons/db_copy.pass.cpp index 13b5795..c84960f 100644 --- a/libcxx/test/libcxx/containers/sequences/list/list.cons/db_copy.pass.cpp +++ b/libcxx/test/libcxx/containers/sequences/list/list.cons/db_copy.pass.cpp @@ -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); |