12 lines
267 B
C++
12 lines
267 B
C++
#include <iostream>
|
|
|
|
// Forward declaration because we don't have a proper header file
|
|
// for the dummy shared lib.
|
|
void shared_lib_2_func(const char* name);
|
|
|
|
int main() {
|
|
std::cout << "Hello, world!" << std::endl;
|
|
shared_lib_2_func("world");
|
|
return 0;
|
|
}
|