extern int foo(); #include int main() { assert(foo() == 42); return 0; }