• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <iostream>
2 
3 // Forward declaration because we don't have a proper header file
4 // for the dummy shared lib.
5 void shared_lib_2_func(const char* name);
6 
main()7 int main() {
8     std::cout << "Hello, world!" << std::endl;
9     shared_lib_2_func("world");
10     return 0;
11 }
12