2 ! { dg-shouldfail "dimension of array B incorrect in MATMUL intrinsic" }
3 ! { dg-options "-finline-matmul-limit=0" }
5 real, dimension(:,:), allocatable
:: a
6 real, dimension(:), allocatable
:: b
7 allocate (a(2,2), b(3))
12 ! { dg-output "Fortran runtime error: dimension of array B incorrect in MATMUL intrinsic.*" }