old-cross-binutils/gdb/testsuite/gdb.base/shr2.c

18 lines
181 B
C
Raw Normal View History

1999-06-28 16:06:02 +00:00
#ifdef PROTOTYPES
int shr2(int x)
#else
int shr2(x) int x;
#endif
{
return 2*x;
}
1999-06-28 16:06:02 +00:00
#ifdef PROTOTYPES
int shr2_local(int x)
#else
int shr2_local(x) int x;
#endif
{
return 2*x;
}