summaryrefslogtreecommitdiffstats
path: root/gdb/testsuite/gdb.base/solib1.c
blob: eecf02438b4770d105efbed210d940cc7a9ff7b5 (plain)
1
2
3
4
5
6
7
8
9
/* This program is intended to be built as an HP-UX SOM shared
   library, for use by the solib.exp testcase.  It simply returns
   the square of its integer argument.
   */
int  solib_main (arg)
  int  arg;
{
  return arg*arg;
}
OpenPOWER on IntegriCloud