main.c 827 Bytes
Newer Older
1 2
#include <stdio.h>

3 4 5 6 7
extern int foo(void);
extern int bar(void);
extern int foobar(void);
extern int barbar(void);
extern int baz(void);
8 9
extern int tree_prefix_foo(void);
extern int tree_prefix_bar(void);
10 11
extern int tree_empty_prefix_foo(void);
extern int tree_empty_prefix_bar(void);
12 13 14
extern int tree_bar(void);
extern int tree_foobar(void);
extern int tree_baz(void);
15 16 17

int main()
{
18 19
  printf("foo: %d bar: %d foobar: %d barbar: %d baz: %d\n", foo(), bar(),
         foobar(), barbar(), baz());
20

21
  printf("tree_prefix_foo: %d tree_prefix_bar: %d tree_bar: %d tree_foobar: "
22 23
         "%d tree_baz: %d  tree_empty_prefix_foo: %d "
         "tree_empty_prefix_bar: %d\n",
24
         tree_prefix_foo(), tree_prefix_bar(), tree_bar(), tree_foobar(),
25
         tree_baz(), tree_empty_prefix_foo(), tree_empty_prefix_bar());
26
  return 0;
27
}