Some platforms do not have a working linker present. The goal is to
only test the loading of a shared library in clang-repl. A precompiled
library is used instead.
The cstdio header may also not be present. We only need printf.
Related discussion in D141824
Should we wrap this in a extern "C" block? Otherwise, the shared library has a C++ interface, which is not stable. It won't matter in this simple case, but the test might become a pattern.