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.dg/] [matmul_bounds_1.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }program matmul_bounds_1implicit nonereal, dimension(3,2) :: areal, dimension(2,3) :: breal, dimension(3,2) :: rabreal, dimension(2,2) :: rokreal, dimension(2) :: rvreal, dimension(3) :: rwreal, dimension(3) :: xreal, dimension(2) :: ya = 1b = 2x = 3y = 4! These tests should throw an errorrab = matmul(a,b) ! { dg-error "Different shape" }rv = matmul(a,y) ! { dg-error "Different shape" }rv = matmul(x,b) ! { dg-error "Different shape" }! These are ok.rw = matmul(a,y)rv = matmul(x,a)rok = matmul(b,a)end program matmul_bounds_1
