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