URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [where17.f90] - Rev 303
Compare with Previous | Blame | View Log
! Check to ensure only the first true clause in WHERE is! executed.program where_17integer :: a(3)a = (/1, 2, 3/)where (a .eq. 1)a = 2elsewhere (a .le. 2)a = 3elsewhere (a .le. 3)a = 4endwhereif (any (a .ne. (/2, 3, 4/))) call abortend program
