1 2 3 4 5 6 7 8 9 10
// test that foo is linked #include "foo/foo.hpp" #include <iostream> int main() { std::cout << "main\n"; Foo{}.foo(); return 0; }