aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb73.C
blob: b5aae397a8af3b1e73fdeb2320f2c1886af08542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Special g++ Options: -O -Wall
// Depeletes VM.

#include <iostream.h>
#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));
}