projects
/
repair.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Checking in update to hashtable code...
[repair.git]
/
Repair
/
RepairCompiler
/
MCC
/
ex_test.cc
1
#include "ex_aux.h"
2
3
struct Node {
4
int data;
5
struct Node *next;
6
struct Node *prev;
7
};
8
9
int main(int argc, char **argv) {
10
struct Node * head =(struct Node *) malloc(sizeof (struct Node));
11
for(int i=0;i<300;i++) {
12
struct Node * tmp =(struct Node *) malloc(sizeof (struct Node));
13
tmp->next=head;
14
head->prev=tmp;
15
head=tmp;
16
}
17
18
for(int j=0;j<6000;j++) {
19
#include "ex.cc"
20
}
21
22
}