aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/shr2.c
blob: de34986d76d57ac433b04f7995ad46cf114de104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifdef PROTOTYPES
int shr2(int x)
#else
int shr2(x) int x;
#endif
{
  return 2*x;
}

#ifdef PROTOTYPES
int shr2_local(int x)
#else
int shr2_local(x) int x;
#endif
{
  return 2*x;
}