PR libfortran/23262
[official-gcc.git] / gcc / testsuite / gfortran.dg / PR19754_1.f90
blobb554d1094c5ff28af66a793f8932f3e576f36f3b
1 ! { dg-do compile }
2 ! Test of fix to PR19754
3 program PR19754_1
4 real x(3,3),y(2,2)
5 x = 1.
6 y = 2.
7 x = x + y ! { dg-error "Shapes for operands at" }
8 end program PR19754_1