OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [ishft_3.f90] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.