Some modifications to allow to print the name of the file when a syntax error is...
[repair.git] / Repair / RepairCompiler / MCC / ex_test.cc
1 #include "ex_aux.h"
2 struct Node {
3      int data;
4      struct Node *next;
5      struct Node *prev;
6 };
7
8 int main(int argc, char **argv) {
9   struct Node * head =(struct Node *) malloc(sizeof (struct Node));
10   for(int i=0;i<300;i++) {
11     struct Node * tmp =(struct Node *) malloc(sizeof (struct Node));
12     tmp->next=head;
13     head->prev=tmp;
14     head=tmp;
15   }
16   
17   for(int j=0;j<6000;j++) {
18 #include "ex.cc"
19   }
20  
21 }