mips.c (mips16_copy_fpr_return_value): New function, split out from...
[official-gcc.git] / gcc / testsuite / gfortran.dg / ishft_3.f90
blobfa3938ef9f0cba266e0878e2d5315459ef255938
1 ! { dg-do compile }
2 program ishft_3
3 integer i, j
4 write(*,*) ishftc( 3, 2, 3 )
5 write(*,*) ishftc( 3, 2, i )
6 write(*,*) ishftc( 3, i, j )
7 write(*,*) ishftc( 3, 128 ) ! { dg-error "exceeds BIT_SIZE of first" }
8 write(*,*) ishftc( 3, 0, 128 ) ! { dg-error "exceeds BIT_SIZE of first" }
9 write(*,*) ishftc( 3, 0, 0 ) ! { dg-error "Invalid third argument" }
10 write(*,*) ishftc( 3, 3, 2 ) ! { dg-error "exceeds third argument" }
11 end program