solib1.c revision 1.5
1/* This program is intended to be built as an HP-UX SOM shared
2   library, for use by the solib.exp testcase.  It simply returns
3   the square of its integer argument.
4   */
5#if defined(__cplusplus) || defined(__STDCPP__)
6extern "C"
7#endif
8int
9solib_main (int arg)
10{
11  return arg*arg;		/* HERE */
12}				/* STEP */
13