Checking in update to hashtable code...
[repair.git] / Repair / RepairCompiler / MCC / ex_test.cc
index c13eae6ae12fa7d1f93fc76cc617752df09297b0..9b0ab1e5128e1e810bea2d600779ff8f86702ea9 100755 (executable)
@@ -7,11 +7,16 @@ struct Node {
 };
 
 int main(int argc, char **argv) {
-  struct Node * head =0;//(struct Node *) malloc(sizeof (struct Node));
-  //  head->next=0;
-  //head->prev=0;
-
-#include "ex.cc"
+  struct Node * head =(struct Node *) malloc(sizeof (struct Node));
+  for(int i=0;i<300;i++) {
+    struct Node * tmp =(struct Node *) malloc(sizeof (struct Node));
+    tmp->next=head;
+    head->prev=tmp;
+    head=tmp;
+  }
   
+  for(int j=0;j<6000;j++) {
+#include "ex.cc"
+  }
   
 }