1 //===-- main.cpp ------------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
18 node () : value(1),next(NULL) {}
19 node (int v) : value(v), next(NULL) {}
22 void make_tree(node* root, int count)
27 root->value = countdown;
30 root->next = new node(++countdown);
36 int main (int argc, const char * argv[])
39 make_tree(&root,25000);
40 return 0; // Set break point at this line.