linux下编程用 编译软件

源代码在线查看: select_2.f90

软件大小: 49607 K
上传用户: IsABC
关键词: linux 编程 编译 软件
下载地址: 免注册下载 普通下载 VIP

相关代码

				! { dg-do run }				!  Simple test program to see if gfortran eliminates the 'case (3:2)'				!  statement.  This is an unreachable CASE because the range is empty.				!				program select_3				  integer i				  do i = 1, 4				     select case(i)				     case (1)				       if (i /= 1) call abort				     case (3:2)				       call abort				     case (4)				       if (i /= 4) call abort				     case default				       if (i /= 2 .and. i /= 3) call abort				     end select				  end do				end program select_3							

相关资源