1/* This program is linked against SOM shared libraries, which the loader
2   automatically loads along with the program itself).
3   */
4
5#include <stdio.h>
6
7#if defined(__cplusplus) || defined(__STDCPP__)
8extern "C" int  solib_main (int  arg);
9#else
10int  solib_main (int  arg);
11#endif
12
13int main ()
14{
15  int  result;
16
17  /* Call a shlib function. */
18  result = solib_main (100);
19
20  /* Call it again. */
21  result = solib_main (result);
22  return 0;
23}
24