OSDN Git Service

PR fortran/30964
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / lrshift_1.c
1 /* Left and right shift C routines, to compare to Fortran results.  */
2 int c_lshift_ (int *x, int *y) { return (*x) << (*y); }
3 int c_rshift_ (int *x, int *y) { return (*x) >> (*y); }