You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
894 B
32 lines
894 B
#include <stdio.h>
|
|
|
|
extern int foo(void);
|
|
extern int bar(void);
|
|
extern int foobar(void);
|
|
extern int barbar(void);
|
|
extern int baz(void);
|
|
extern int tree_prefix_foo(void);
|
|
extern int tree_prefix_bar(void);
|
|
extern int tree_empty_prefix_foo(void);
|
|
extern int tree_empty_prefix_bar(void);
|
|
extern int tree_bar(void);
|
|
extern int tree_foobar(void);
|
|
extern int tree_baz(void);
|
|
extern int nested(void);
|
|
|
|
int main(void)
|
|
{
|
|
printf("foo: %d bar: %d foobar: %d barbar: %d baz: %d\n", foo(), bar(),
|
|
foobar(), barbar(), baz());
|
|
|
|
printf("tree_prefix_foo: %d tree_prefix_bar: %d tree_bar: %d tree_foobar: "
|
|
"%d tree_baz: %d tree_empty_prefix_foo: %d "
|
|
"tree_empty_prefix_bar: %d\n",
|
|
tree_prefix_foo(), tree_prefix_bar(), tree_bar(), tree_foobar(),
|
|
tree_baz(), tree_empty_prefix_foo(), tree_empty_prefix_bar());
|
|
|
|
printf("nested: %d\n", nested());
|
|
|
|
return 0;
|
|
}
|