repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb73.C
blob
bf9cf598d9c94d95744963ab858ae4915074afe9
1
// { dg-do run }
2
// { dg-options "-O -Wall" }
3
// Depletes VM.
4
5
#include <iostream>
6
#include <list>
7
#include <algorithm>
8
using namespace std;
9
10
int main()
11
{
12
int daten [16] = { 1, 4, 4, 6, 1, 2, 2, 3, 6, 6, 6, 5, 7, 5, 4, 4};
13
list<int> menge;
14
copy (daten, daten+16, back_inserter(menge));
15
}