summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/matmul_1.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/matmul_1.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/matmul_1.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/matmul_1.f90 b/gcc/testsuite/gfortran.dg/matmul_1.f90
index b3881c9facc..6496f88a2c7 100644
--- a/gcc/testsuite/gfortran.dg/matmul_1.f90
+++ b/gcc/testsuite/gfortran.dg/matmul_1.f90
@@ -33,7 +33,7 @@ Program matmul_1
! array sections
c = 0.0_T
- c = matmul (a(7:9,3:N), b(3:N,3:4))
+ c(1:3,1:2) = matmul (a(7:9,3:N), b(3:N,3:4))
if (sum (c) /= 576.0_T) call abort ()
! uses a temp