From 351a70978165b696ba81ff3ade5cb3ae44b3a8cf Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 22 Jun 2016 08:57:33 +0000 Subject: Run list debug copy test in C++03. llvm-svn: 273395 --- .../test/libcxx/containers/sequences/list/list.cons/db_copy.pass.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libcxx') 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&& c); @@ -22,7 +20,8 @@ int main() { - std::list l1 = {1, 2, 3}; + std::list l1; + l1.push_back(1); l1.push_back(2); l1.push_back(3); std::list::iterator i = l1.begin(); std::list l2 = l1; l2.erase(i); -- cgit v1.1