extern int
puts(const char *);

extern void
foo();

int
main()
{
    puts("main");
    foo();
    puts("MAIN");
}