* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.hp / sum.c
CommitLineData
8e260d52
DT
1/* This is a sample program for the HP/DDE debugger. */
2#include <stdio.h>
3
4#ifdef __STDC__
5int sum(int list[], int low, int high)
6#else
7int sum(list, low, high)
8int list[], low, high;
9#endif
10 {
11 int i, s = 0;
12 for (i = low; i <= high; i++)
13 s += list[i];
14 return(s);
15 }
This page took 0.032095 seconds and 4 git commands to generate.