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

21 lines
200 B
C++

#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() );
}