2 ! { dg-options "-fcheck=bounds" }
3 ! { dg-shouldfail "Fortran runtime error: Incorrect extent in argument B in MATMUL intrinsic in dimension 1" }
5 real, dimension(:,:), allocatable
:: a
, b
, c
6 character(len
=100) :: line
11 write (unit
=line
, fmt
=*) matmul(a
,transpose(b
))
13 ! { dg-output "Fortran runtime error: Incorrect extent in argument B in MATMUL intrinsic in dimension 1" }