summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb7.C
blob: 4785305ff5308d25d82cfab5153d1ecf20808865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }
#include <vector>

class T
{
  public:
  T();

};

std::vector <T> tp;

void f()
{
      tp.insert(tp.begin(), 10 , T());
}