reactos/lib/3rdparty/stlport/test/compiler/movable.cpp

21 lines
200 B
C++
Raw Normal View History

#include <list>
#include <vector>
#include <string>
using namespace std;
struct S :
public string
{
};
void test()
{
list<S> l;
l.push_back( S() );
vector<S> v;
v.push_back( S() );
}