// test that foo is linked #include int foo(); // forward declare int main() { std::cout << "main\n"; return foo(); }