blob: 7939a35e3ef175905724a6ff9679f0138ae53e58 [file] [log] [blame]
// { dg-options "-Wno-deprecated" }
/* testing the gcc instrumented */
#include <ext/hash_map>
using namespace std;
using __gnu_cxx::hash_map;
int main()
{
hash_map <int, int> *tmp;
for (int j=1; j<=10; j++)
{
tmp = new hash_map<int, int>;
// Insert more than default item
for (int i=0; i<10000*j; i++) {
(*tmp)[i]= i;
}
delete tmp;
}
}