Run list debug copy test in C++03.

llvm-svn: 273395
This commit is contained in:
Eric Fiselier 2016-06-22 08:57:33 +00:00
parent 75fd25e4bc
commit 351a709781
1 changed files with 2 additions and 3 deletions

View File

@ -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);