diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-22 08:57:33 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-22 08:57:33 +0000 |
commit | 351a70978165b696ba81ff3ade5cb3ae44b3a8cf (patch) | |
tree | a3611118a1129b1007da40daed63a32d3720b7a1 /libcxx | |
parent | 75fd25e4bc444df5813784a7902b8d304b43e5b3 (diff) | |
download | llvm-351a70978165b696ba81ff3ade5cb3ae44b3a8cf.zip llvm-351a70978165b696ba81ff3ade5cb3ae44b3a8cf.tar.gz llvm-351a70978165b696ba81ff3ade5cb3ae44b3a8cf.tar.bz2 |
Run list debug copy test in C++03.
llvm-svn: 273395
Diffstat (limited to 'libcxx')
-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); |