summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb73.C
blob: bf9cf598d9c94d95744963ab858ae4915074afe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do run  }
// { dg-options "-O -Wall" }
// Depletes VM.

#include <iostream>
#include <list>
#include <algorithm>
using namespace std;

int main()
{
    int daten [16] = { 1, 4, 4, 6, 1, 2, 2, 3, 6, 6, 6, 5, 7, 5, 4, 4};
    list<int> menge;
    copy (daten, daten+16, back_inserter(menge));
}