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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [matmul_5.f90] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! { dg-shouldfail "dimension of array B incorrect in MATMUL intrinsic" }
3
program main
4
  real, dimension(:,:), allocatable :: a
5
  real, dimension(:), allocatable :: b
6
  allocate (a(2,2), b(3))
7
  call random_number(a)
8
  call random_number(b)
9
  print *,matmul(a,b)
10
end program main
11
! { dg-output "Fortran runtime error: dimension of array B incorrect in MATMUL intrinsic.*" }

powered by: WebSVN 2.1.0

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