genericopenlibs/cppstdlib/stl/test/compiler/movable.cpp
author William Roberts <williamr@symbian.org>
Fri, 23 Jul 2010 11:57:06 +0100
branchGCC_SURGE
changeset 46 0a3770c1cffe
parent 45 4b03adbd26ca
permissions -rw-r--r--
Reapply the libstdcpp.mmp file change for bug 2971

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